Skip to content

Style book: Hide inline block preview when style book is invoked #46394

Closed

Description

@madhusudhand

What problem does this address?

Inline block preview is redundant when 'Style book' is open.

image

What is your proposed solution?

Would it be nice to hide the inline preview when style book is open?

Activity

  1. noisysocks commented on Dec 12, 2022

    @noisysocks
    Member

    Good idea. Should be easy to do using the useHasStyleBook hook.

  2. added
    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json
    and removed on Dec 13, 2022
  3. mtias commented on Dec 21, 2022

    @mtias
    Member

    How would this handle mobile? Also it might seem a bit weird to have the preview just vanish upon opening the style book.

  4. madhusudhand commented on Jan 3, 2023

    @madhusudhand
    MemberAuthor

    How would this handle mobile?

    I think the style book toggle eye is not available for the smaller screens. Only inline preview is available.

    Also it might seem a bit weird to have the preview just vanish upon opening the style book.

    Hmm. We could leave it as is and revisit in future if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] EnhancementA suggestion for improvement.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions