Skip to content

Commit

Permalink
Block Mover: Unify visual separator when show button label is on (#59158
Browse files Browse the repository at this point in the history
)

Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org>
  • Loading branch information
4 people authored Feb 21, 2024
1 parent 45c03ac commit 09dc127
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 09dc127

Please sign in to comment.