Skip to content

Featured image block: Border width and border radius not applied on front end. #45142

@kebbet

Description

@kebbet

Description

When defining a border (width and color) and/or border-radius on a ”Featured image” block, and also restricting its height, the border and border-radius options are not applied on front end.

Step-by-step reproduction instructions

  1. Insert featured image block
  2. Restrict height to 100px in Diemension section.
  3. Add border (color + width) in Border section
  4. and/or add border-radius in Border section.
  5. See the options applied in editor.
  6. See the options missing on front end.

Screenshots, screen recording, code snippet

Editor
bild

Front end.
bild

Environment info

  • WordPress trunk, Twenty-Twenty-Three and Twenty-Twenty-Two.

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

    [Block] Post Featured ImageAffects the Post Featured Image Block[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