Skip to content

Commit

Permalink
Make classic toolbar sticky (#6976)
Browse files Browse the repository at this point in the history
The classic block's toolbar does not stick when you scroll. This PR fixes that.
  • Loading branch information
jasmussen authored May 28, 2018
1 parent 931181f commit e70ca43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core-blocks/freeform/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ div[data-type="core/freeform"] .editor-block-contextual-toolbar + div {
width: auto;
margin: -$block-padding;
margin-bottom: $block-padding;
position: sticky;
z-index: z-index( '.freeform-toolbar' );
top: 0;
}

.freeform-toolbar:empty {
Expand Down

0 comments on commit e70ca43

Please sign in to comment.