Skip to content

Commit

Permalink
Remove specific float styles (#20501)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Feb 28, 2020
1 parent 3c095a7 commit 5fde188
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/edit-post/src/components/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,3 @@
}
}
}

.edit-post-visual-editor {
// If the first block is floated, it needs top margin, unlike the rule in line 69.
.block-editor-block-list__layout > .block-editor-block-list__block[data-align="left"]:first-child,
.block-editor-block-list__layout > .block-editor-block-list__block[data-align="right"]:first-child {
margin-top: $block-padding + $block-spacing + $border-width + $border-width + $block-padding;
}
}

0 comments on commit 5fde188

Please sign in to comment.