Skip to content

Commit

Permalink
use box-shadow instead of border
Browse files Browse the repository at this point in the history
  • Loading branch information
richtabor committed Aug 5, 2024
1 parent 96cca23 commit bb42a79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
// Raise the specificity.
&.components-accessible-toolbar {
border: none;
border-bottom: $border-width solid $gray-200;
box-shadow: 0 $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
border-radius: 0;
}

Expand Down
3 changes: 1 addition & 2 deletions packages/editor/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,10 @@

.editor-header {
background-color: $white;
border-bottom: 1px solid #e0e0e0;
box-shadow: 0 $border-width 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
position: absolute;
width: 100%;


// hide some parts
& > .edit-post-header__settings > .edit-post-header__post-preview-button {
visibility: hidden;
Expand Down

0 comments on commit bb42a79

Please sign in to comment.