Skip to content

Commit

Permalink
Blocks: Restore freeform block toolbar z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed Oct 31, 2017
1 parent 882964b commit 9f31268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/library/freeform/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
.freeform-toolbar {
width: auto;
top: $header-height - 1px;
z-index: z-index( '.editor-block-toolbar' );
z-index: z-index( '.freeform-toolbar' );
position: sticky;

@include break-medium() {
Expand Down
1 change: 1 addition & 0 deletions editor/assets/stylesheets/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $z-layers: (
'.editor-visual-editor__block:before': -1,
'.editor-visual-editor__block .wp-block-more:before': -1,
'.editor-visual-editor__block {core/image aligned left or right}': 20,
'.freeform-toolbar': 10,
'.editor-visual-editor__block-warning': 1,
'.editor-visual-editor__sibling-inserter': 1,
'.components-form-toggle__input': 1,
Expand Down

0 comments on commit 9f31268

Please sign in to comment.