Skip to content

Commit

Permalink
Update style.scss (#17804)
Browse files Browse the repository at this point in the history
Left aligned blocks should not inherited "float:left" to nested blocks.

In reference to #17793
  • Loading branch information
CreativeDive authored and gziolo committed Oct 10, 2019
1 parent 4634c4f commit 49ab90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@
// Left
&[data-align="left"] {
// This is in the editor only; the image should be floated on the frontend.
.block-editor-block-list__block-edit {
> .block-editor-block-list__block-edit {
/*!rtl:begin:ignore*/
float: left;
margin-right: 2em;
Expand Down

0 comments on commit 49ab90d

Please sign in to comment.