-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Preview Styles: Prevent leaked shadow due to blur #73545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview Styles: Prevent leaked shadow due to blur #73545
Conversation
|
Size Change: +41 B (0%) Total Size: 2.54 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in b12317f. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19668924918
|
ramonjd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need a new prescription for my glasses. You must have 20:20 vision!
I could hardly see the difference. Here I am squinting at my monitor like Mr Magoo.
It was much more obvious on my mac studio monitor.
Kapture.2025-11-26.at.10.09.26.mp4
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @poligilad-auto. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
With tired eyes I was having some trouble too. But it was one of those things that once you see it you can't unsee it. Thanks for the speedy review. |
|
Wow, eagle eyes! Good catch 🎉 |
|
Credit for the eagle eyes goes to @poligilad-auto. Thanks for submitting the issue Poli 🙇 |
What?
Closes #73351
Prevents a shadowy blur from leaking beyond the bounds of the Preview Styles component.
Why?
It's a subtle visual bug but these add up to detract from overall perceived quality.
How?
Set
clip-path: border-boxon the preview component's wrapper.Testing Instructions
Screenshots or screencast