Skip to content

Commit

Permalink
Use narrow width in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Aljullu committed Nov 11, 2020
1 parent 4a16228 commit 259c715
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/css/base/gutenberg-editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ table {

// Main content width
.wp-block {
max-width: $container-width;
$span-value: span(9) / 100;
max-width: calc(#{$container-width} * #{$span-value / ( $span-value * 0 + 1 )}); // Unitless hack.
}

.wp-block[data-align='wide'] {
Expand Down

0 comments on commit 259c715

Please sign in to comment.