Skip to content

Commit

Permalink
Fix list block not properly aligned (#21971)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 29, 2020
1 parent 2cf0a3d commit a3f1e65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,13 @@
}
}

.wp-block {
// Extra specificity needed to override default element margins like lists (ul).
.block-editor-block-list__layout .wp-block {
margin-left: auto;
margin-right: auto;
}

.wp-block {
// Alignments.
&[data-align="left"],
&[data-align="right"] {
Expand Down

0 comments on commit a3f1e65

Please sign in to comment.