Skip to content

Commit

Permalink
Fix unintentional block toolbar shadow. (WordPress#65182)
Browse files Browse the repository at this point in the history
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
3 people committed Sep 10, 2024
1 parent ff0c475 commit bf64272
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,13 @@
// Raise the specificity.
&.components-accessible-toolbar {
border: none;
box-shadow: 0 $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
border-radius: 0;
}

&.is-unstyled {
box-shadow: 0 $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
}

.block-editor-block-toolbar {
overflow: auto;
overflow-y: hidden;
Expand Down

0 comments on commit bf64272

Please sign in to comment.