Skip to content

Media & text block: Placeholder buttons has the wrong size #61812

@carolinan

Description

@carolinan

Description

When you place a media & text block, before selecting a media, there is a placeholder with three buttons.
With Gutenberg active, there is an unexpected change in the styling of the buttons, which are wider than in other placeholders.

Step-by-step reproduction instructions

Activate Gutenberg.
Add a media & text block.

Screenshots, screen recording, code snippet

With Gutenberg active:
Media & text block in Gutenberg has full width buttons

Expected:
Media & text block in WP version 6.5 has standard width buttons

Image block placeholder for comparison:
Image block placeholder with standard width buttons

Cover block for comparison:
cover block placeholder with standard width buttons

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Block] Media & TextAffects the Media & Text Block[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