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 and getdave committed Feb 27, 2024
1 parent 1fa7012 commit c515c6c
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 c515c6c

Please sign in to comment.