Skip to content

Global Styles: Border customisation is not applied correctly #48253

@iamtakashi

Description

@iamtakashi

Description

With #47630, the border customisation for the Avatar block is applied correctly at the block level. However, the block will not be styled correctly if it's styled in Global Styles.

Screenshot 2023-02-20 at 15 29 13

Step-by-step reproduction instructions

  1. Add an avatar block,
  2. Go to Styles tab and Blocks > Avatar > Border
  3. Try adding a border and specify the border-radius.

Screenshots, screen recording, code snippet

No response

Environment info

  • WP 6.1.1
  • Gutenberg Trunk

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

Labels

[Block] AvatarAffects the Avatar Block[Block] SearchAffects the Search Block - used to display a search field[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions