Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Issue with the content's width of the Cover block #332

Closed
briceduclos opened this issue Jan 11, 2022 · 2 comments
Closed

Issue with the content's width of the Cover block #332

briceduclos opened this issue Jan 11, 2022 · 2 comments
Labels
[Type] Bug Something isn't working

Comments

@briceduclos
Copy link

Describe the bug
A month ago, I opened this ticket WordPress/gutenberg#37036 regarding the fact that it's impossible to set the width of the cover inner blocks. Currently, when using the Twenty Twenty-Two theme (or any block theme), the text inside the Cover blocks is full-width, thus not readable when using a full-width cover.

As it appears that no fix will be included in the WordPress 5.9 release, maybe the theme could include a CSS fix as the cover block is not usable anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Inside the page editor, insert a Cover block and set it to full-width.
  2. Insert some long text.
  3. See that the text is full-width.

Expected behavior
IMO, a user should be able to use the Cover block out of the box without having to add a group inside the cover to fix this issue.

Screenshots
cover-full

@briceduclos briceduclos added the [Type] Bug Something isn't working label Jan 11, 2022
@kjellr
Copy link
Collaborator

kjellr commented Jan 11, 2022

Thanks for filing the issue, @briceduclos. In general, the approach to Twenty Twenty-Two has been to avoid doing theme-specific fixes for Gutenberg issues whenever possible. Now that we're so close to release, I'm personally even more hesitant to add in that sort of code.

It looks like there's a PR here to get this working, so that's the best bet moving forward. I understand it's frustrating that this won't get in for the 5.9 release, but maybe it can be added to a minor release afterwards. Plus, once it's fixed in Gutenberg, it'll work for all block themes.

I'm going to close this issue for now, but we can keep discussing if you'd like. Thanks again for the report!

@kjellr kjellr closed this as completed Jan 11, 2022
@sabernhardt
Copy link
Contributor

@briceduclos Could you set up an account on WordPress.org and connect your GitHub username so your name will be listed on the WordPress Credits page for the 5.9 release?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants