-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Style Book: Box shadow is cut off #48392
Comments
Oh, what an interesting one. It looks like the I might not get a chance to work on this today, so if no-one beats me to it, I'll look into a fix on Monday. |
I've had a go at a naive fix over in #48470 |
Update: I think the most viable of the options explored so far (and that seems consistent with how the Style Book should ideally work) is ready for review over in #48664 — that approach lifts the iframe for the previews up to encompass the whole content area of the Style Book which will allow big shadows to be rendered beyond the area of the block preview. |
Description
Using 6.2 beta 3, when setting box shadow with the style book open, I noticed the shadow is cut off in the preview.
This implemented the feature: #46502 so tagging in @madhusudhand to investigate along with @andrewserong for the Style Book with Rob out.
Related, I noticed the box shadow sometimes isn't showing up in the Styles interface for Buttons when it used to appear. Instead, I'm met with an empty fly out view. I couldn't replicate this consistently so not opening an issue for now.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: