Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
masonyekta opened this issue Nov 24, 2022 · 1 comment
Open

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

masonyekta opened this issue Nov 24, 2022 · 1 comment
Labels
[Block] Media & Text Affects the Media & Text Block Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.

Comments

@masonyekta
Copy link

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

@carolinan carolinan added [Block] Media & Text Affects the Media & Text Block [Type] Enhancement A suggestion for improvement. labels Nov 25, 2022
@richtabor
Copy link
Member

I suspect this layout is quite subjective to have it fullwidth, or not.

Curious what other folks think.

@skorasaurus skorasaurus added the Needs Decision Needs a decision to be actionable or relevant label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Media & Text Affects the Media & Text Block Needs Decision Needs a decision to be actionable or relevant [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants