Skip to content

Commit

Permalink
Fix blurry edge along editor header with Distraction Free (#64277)
Browse files Browse the repository at this point in the history
* use box-shadow instead of border

* revert post-preview break-mobile

* Fix

Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
4 people committed Sep 5, 2024
1 parent 7cf62f7 commit 8b452c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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
2 changes: 1 addition & 1 deletion packages/editor/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
width: 100%;

@include break-medium {
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;
}

Expand Down

1 comment on commit 8b452c2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 8b452c2.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10720408106
📝 Reported issues:

Please sign in to comment.