Skip to content

Commit

Permalink
Update full-width block editor styling
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcernis committed Nov 8, 2018
1 parent 3b13764 commit 02b4c52
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/gutenberg/style-editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ p, ul, ol, dl {
/* 1062px + 30px so wide images match width in front-end and editor.
/* 1062px = default column width of 702px + .alignwide negative margin of 360px
---------------------------------------------------------------------------- */
body[data-align="wide"] {
max-width: 1092px !important;
.wp-block[data-align="wide"] {
max-width: 1092px;
}

body[data-align="full"] {
max-width: none !important;
.wp-block[data-align="full"] {
width: auto;
}

/* Typography
Expand Down

0 comments on commit 02b4c52

Please sign in to comment.