Skip to content

Shadow Palette: Add button is in the wrong position #69538

@t-hamano

Description

@t-hamano

Description

In the Shadow Preset panel, the Add Shadow button slightly shifted to the right:

Image

This is because the button is squashed and and no longer 24px wide:

Image

We can probably fix this by looking at the implementations of other panels.

Step-by-step reproduction instructions

  • Appearance > Editor > Global Styles > Shadows > Custom section
  • Focus the Add Shadow button

Screenshots, screen recording, code snippet

No response

Environment info

No response

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonGood First IssueAn issue that's suitable for someone looking to contribute for the first time[Status] In ProgressTracking issues with work in progress[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