Skip to content

Style Book: Box shadow is cut off  #48392

@annezazu

Description

@annezazu

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

  1. Use 6.2 beta 3 and TT3
  2. Open Appearance > Editor
  3. Open Styles > Blocks > Button > Shadow
  4. Set a shadow and turn on the Style Book
  5. Note that the shadow gets cut off

Screenshots, screen recording, code snippet

Screen Shot 2023-02-23 at 4 39 12 PM

Environment info

  • 6.2 beta 3
  • TT3
  • GB 15.2

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

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions