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

Allow other alignements for the Media & Text block #28776

Closed
marekdedic opened this issue Feb 5, 2021 · 3 comments
Closed

Allow other alignements for the Media & Text block #28776

marekdedic opened this issue Feb 5, 2021 · 3 comments
Labels
[Block] Media & Text Affects the Media & Text Block

Comments

@marekdedic
Copy link
Contributor

What problem does this address?

The Media & Text block does not respect content padding and the overflows into it. This is expected with the "Wide" alignment, but there is no other alignment than "Wide" and "Full width"

Basically, I want to have an image with a text side-by-side and not have it creep into the padding. I can't use the columns block because it works differently on mobile.

What is your proposed solution?

Add another alignment to the Media & Text block - I don't know how it would be called.

@ntsekouras ntsekouras added the [Block] Media & Text Affects the Media & Text Block label Feb 5, 2021
@Mamaduka
Copy link
Member

Hi, @marekdedic

You can remove the default alignment by clicking on the selected one. Then block should fit the content width and respect the padding.

There's already an issue about default alignment for the "Media & Text" block - #20941.

@marekdedic
Copy link
Contributor Author

Hi,
yes, I found that out later and forgot to close this. However, I find the UI of "toggle, one, toggle other or deselect both" incredibly confusing. Should I open a new issue for that?

@Mamaduka
Copy link
Member

I agree it is a little confusing. There's a similar issue - #30782, so no need to create a new one.

P.S. I think I also saw mockups somewhere for "None" or "No alignment" options.

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
Projects
None yet
Development

No branches or pull requests

3 participants