Skip to content

Commit

Permalink
Blocks: Fix More/Next dash line (WordPress#10904)
Browse files Browse the repository at this point in the history
* Blocks: Fix More/Next dash line

* Blocks: Remove unnecessary position style

Co-Authored-By: aduth <[email protected]>
  • Loading branch information
aduth authored Oct 26, 2018
1 parent 0a1d6e0 commit 25bc46a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion assets/stylesheets/_z-index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
$z-layers: (
".editor-block-list__block-edit::before": 0,
".editor-block-switcher__arrow": 1,
".editor-block-list__block .wp-block-more::before": -1,
".editor-block-list__block {core/image aligned left or right}": 20,
".editor-block-list__block {core/image aligned wide or fullwide}": 20,
".block-library-classic__toolbar": 10,
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/more/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

// Label
input[type="text"] {
position: relative;
font-size: $default-font-size;
text-transform: uppercase;
font-weight: 600;
Expand Down Expand Up @@ -38,6 +39,5 @@
left: 0;
right: 0;
border-top: 3px dashed $light-gray-700;
z-index: z-index(".editor-block-list__block .wp-block-more::before");
}
}
1 change: 0 additions & 1 deletion packages/block-library/src/nextpage/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,5 @@
left: 0;
right: 0;
border-top: 3px dashed $light-gray-700;
z-index: z-index(".editor-block-list__block .wp-block-more::before");
}
}

0 comments on commit 25bc46a

Please sign in to comment.