Skip to content

Styles: Preview and Stylebook cut off with Whisper variation #46874

Closed
@annezazu

Description

@annezazu

Description

This bug was found as part of the FSE Outreach Program's nineteenth call for testing:

I found that Style book doesn’t show examples properly on Whisper style variant. I’m using Gutenberg 14.8.3. The problem happened because the style variant applies full body border. For a short work around, undisplaying the border-style through Custom CSS solves the issue. What a way to try out the experiment module that turns out well. 🙂 However, I think Style book should be supportive to any kinds of block theme.

cc @madhusudhand (preview) and @noisysocks (style book) of note, I replicated this with GB 14.9 RC1

Step-by-step reproduction instructions

  1. Activate TT3 and select Whisper style variant
  2. Open Style book
  3. Notice the bottom border of every example is cut.
  4. Open Styles again > Blocks and notice the previews are also cut off.

Screenshots, screen recording, code snippet

Stylebook:

Screen Shot 2023-01-03 at 7 26 34 PM

Style preview:

Screen Shot 2023-01-03 at 7 25 04 PM

Environment info

  • WordPress 6.1.1
  • GB 14.9 RC1 & GB 14.8.3
  • TT3

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

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Theme Style VariationsRelated to style variations provided by block themes[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions