Skip to content

Commit

Permalink
Block Mover: Unify visual separator when show button label is on
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Feb 19, 2024
1 parent c6e08e0 commit 07cbee8
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions packages/block-editor/src/components/block-toolbar/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -207,17 +207,18 @@
}
}

.block-editor-block-mover .block-editor-block-mover__move-button-container {
width: auto;

@include break-small() {
.block-editor-block-mover {
.block-editor-block-mover__move-button-container {
width: auto;
position: relative;
}

&::before {
&:not(.is-horizontal) .block-editor-block-mover__move-button-container::before {
@include break-small() {
content: "";
height: $border-width;
width: 100%;
background: $gray-900;
background: $gray-200;
position: absolute;
top: 50%;
left: 50%;
Expand All @@ -226,6 +227,10 @@
transform: translate(-50%, 0);
margin-top: -$border-width * 0.5;
}

@include break-medium {
background: $gray-900;
}
}
}

Expand Down

0 comments on commit 07cbee8

Please sign in to comment.