Skip to content

Commit

Permalink
Position toolbar in wide image option.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtias committed Jun 2, 2017
1 parent 80d92b6 commit 390e1a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions blocks/library/image/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@
.editor-block-mover {
display: none;
}
}

&[data-align="full"],
&[data-align="wide"] {
.editor-visual-editor__block-controls {
max-width: $visual-editor-max-width - ( ( $block-padding + $block-padding + $block-mover-margin ) * 2 );;
// a block is 600px wide inside a 700px container
Expand Down

0 comments on commit 390e1a5

Please sign in to comment.