Skip to content

Media & Text block: radius doesn't apply to media element and goes underneath #69596

@Robertght

Description

@Robertght

Description

The border radius doesn't go on top of the existing content, but underneath it.

Step-by-step reproduction instructions

  1. Create a new page
  2. Add a media & text block
  3. Set a color to the border so it's more obvious
  4. Increase that radius until you can see the overlap

Screenshots, screen recording, code snippet

Editor:

Image

Frontend:

Image

Environment info

Gutenberg 20.4.0
WordPress 6.7.2

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

    [Block] Media & TextAffects the Media & Text Block[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[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