Skip to content

Media & Text Block left and right padding on mobile #46044

Open

Description

Description

The padding that is added to the .wp-block-media-text__content in Media & Text block is causing the content to have different padding than the media when viewed in mobile.

This line:

We should probably remove the right and left padding on mobile, currently this is how it shows up on mobile:

image

If left padding and right padding are removed:

image

Should the content padding be consistent with the media?

Step-by-step reproduction instructions

  1. Use Twenty Twenty-Three theme
  2. Insert a media & text block
  3. Select show media on the left
  4. View the block on mobile
  5. Observe the left and right padding which are not aligned with the media

Screenshots, screen recording, code snippet

No response

Environment info

WordPress Version 6.1.1

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs DecisionNeeds a decision to be actionable or relevant[Block] Media & TextAffects the Media & Text Block[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions