Skip to content

Commit

Permalink
Fix border and parent selector dot
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano committed Dec 30, 2023
1 parent 30ba00f commit 395356f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@
position: absolute;
font-size: 16px;
right: 0;
bottom: $grid-unit-20;
height: $grid-unit-60;
top: 0;
display: inline-flex;
align-items: center;
}
}

Expand Down
7 changes: 4 additions & 3 deletions packages/edit-post/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
.selected-block-tools-wrapper {
overflow-x: hidden;
display: flex;
align-items: center;

.block-editor-block-contextual-toolbar {
border-bottom: 0;
Expand All @@ -63,8 +64,7 @@
&::after {
content: "";
width: $border-width;
margin-top: $grid-unit + $grid-unit-05;
margin-bottom: $grid-unit + $grid-unit-05;
height: $grid-unit-30;
background-color: $gray-300;
margin-left: $grid-unit;
}
Expand All @@ -73,12 +73,13 @@
.components-toolbar-group,
.components-toolbar {
border-right: none;
height: 100%;

&::after {
content: "";
width: $border-width;
height: $grid-unit-30;
margin-top: $grid-unit + $grid-unit-05;
margin-bottom: $grid-unit + $grid-unit-05;
background-color: $gray-300;
margin-left: $grid-unit;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ $header-toolbar-min-width: 335px;
&::after {
content: "";
width: $border-width;
height: $grid-unit-30;
margin-top: $grid-unit + $grid-unit-05;
margin-bottom: $grid-unit + $grid-unit-05;
background-color: $gray-300;
margin-left: $grid-unit;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/edit-widgets/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
&::after {
content: "";
width: $border-width;
height: $grid-unit-30;
margin-top: $grid-unit + $grid-unit-05;
margin-bottom: $grid-unit + $grid-unit-05;
background-color: $gray-300;
margin-left: $grid-unit;
}
Expand Down

0 comments on commit 395356f

Please sign in to comment.