Skip to content

Commit

Permalink
Fix regression with sticky toolbar border (#6980)
Browse files Browse the repository at this point in the history
The merge of a more background color friendly UI introduced a regression where the bottom border of the toolbar was gone, to avoid stacking the transparent opacities.

This PR reintroduces the solid color, and the bottom border. It's still friendly to colored backgrounds.
  • Loading branch information
jasmussen authored May 28, 2018
1 parent e70ca43 commit 5220c70
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions editor/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -717,11 +717,7 @@
// use opacity to work in various editor styles
background-clip: padding-box;
box-sizing: padding-box;
border: 1px solid $dark-opacity-light-500;

.is-dark-theme & {
border-color: $light-opacity-light-500;
}
border: 1px solid $light-gray-500;

// this prevents floats from messing up the position
position: absolute;
Expand All @@ -737,10 +733,6 @@
}
}

.editor-block-contextual-toolbar .editor-block-toolbar {
border-bottom: none;
}

.editor-block-list__breadcrumb .components-toolbar {
padding: 0px 12px;
line-height: $block-toolbar-height - 1px;
Expand Down

0 comments on commit 5220c70

Please sign in to comment.