Skip to content

Commit

Permalink
Fix border position when "Show button text labels" is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Jan 20, 2024
1 parent 7692bde commit 6020b94
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions packages/edit-post/src/components/header/style.scss
Expand Up @@ -117,8 +117,7 @@
@include break-small() {
&:not(.is-horizontal) .block-editor-block-mover__move-button-container {
position: relative;
top: -6px;
justify-content: flex-start;
top: -10px;
}
}
}
Expand Down Expand Up @@ -234,9 +233,9 @@
&::before {
content: "";
width: $border-width;
margin-top: $grid-unit-15;
margin-bottom: $grid-unit-15;
height: $grid-unit-30;
background-color: $gray-300;
margin-top: $grid-unit-05;
margin-left: $grid-unit;
}

Expand Down
7 changes: 3 additions & 4 deletions packages/edit-site/src/components/header-edit-mode/style.scss
Expand Up @@ -149,9 +149,9 @@ $header-toolbar-min-width: 335px;
&::before {
content: "";
width: $border-width;
margin-top: $grid-unit-15;
margin-bottom: $grid-unit-15;
height: $grid-unit-30;
background-color: $gray-300;
margin-top: $grid-unit-05;
margin-left: $grid-unit;
}

Expand Down Expand Up @@ -232,8 +232,7 @@ $header-toolbar-min-width: 335px;
@include break-small() {
&:not(.is-horizontal) .block-editor-block-mover__move-button-container {
position: relative;
top: -6px;
justify-content: flex-start;
top: -10px;
}
}
}
Expand Down
3 changes: 1 addition & 2 deletions packages/edit-widgets/src/components/header/style.scss
Expand Up @@ -67,8 +67,7 @@
@include break-small() {
&:not(.is-horizontal) .block-editor-block-mover__move-button-container {
position: relative;
top: -6px;
justify-content: flex-start;
top: -10px;
}
}
}
Expand Down

0 comments on commit 6020b94

Please sign in to comment.