Skip to content

Commit

Permalink
Improve responsiveness of block toolbar.
Browse files Browse the repository at this point in the history
This starts work on #724.
  • Loading branch information
jasmussen committed Jun 6, 2017
1 parent adf7d8d commit 89898cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion editor/block-switcher/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
border: 1px solid $light-gray-500;
box-shadow: $shadow-popover;
background-color: $white;
margin-right: 10px;
font-family: $default-font;
font-size: $default-font-size;
line-height: $default-line-height;
margin-right: -1px;

@include break-small() {
margin-right: $item-spacing;
}
}

.editor-block-switcher__toggle {
Expand Down
6 changes: 5 additions & 1 deletion editor/modes/visual-editor/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@

.editor-visual-editor__block-controls .components-toolbar {
display: inline-flex;
margin-right: $item-spacing;
margin-right: -1px;

@include break-small() {
margin-right: $item-spacing;
}
}

.editor-visual-editor__block-controls .editor-block-switcher {
Expand Down

0 comments on commit 89898cb

Please sign in to comment.