-
Notifications
You must be signed in to change notification settings - Fork 358
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
Group Blocks on Dyad 2 have padding issues. #7968
Comments
Support References This comment is automatically generated. Please do not edit it.
|
I tried to reproduce this issue and I noticed that the Group block has a setting to remove the top and bottom padding which worked on Editor view but had no effect on the live page. Was able to confirm with multiple themes like Dyad 2, 2020. I think that issue is also related to this. |
@KirkwallDay would you happen to have a handy screenshot of that? |
📌 SCRUBBING
📌 FINDINGS/SCREENSHOTS/VIDEO I was able to replicate this issue on Simple and AT sites, as well as self-hosted. AT site, Simple site, and Self-Hosted site:
Created my own Group Blocks with two Columns and also three Columns inside. I tested with other blocks outside of the Group Block. Checked with the following non-FSE themes and it's not replicable: Rowling, Mayland, Ryu. Could not replicate this using Hemingway Rewritten, which actually looks like this: Regarding this comment I do not see this option for the Group Block on my end, not sure why. @devNigel Can you let me know if this is available for a particular reason on your end? Here is what I see: 📌 ACTIONS
|
@renata-franco Do you have CoBlocks active? Based on this thread, it looks like it is a feature from CoBlocks. |
No, I do not have CoBlocks on any of the sites. We stopped having that plugin as default a while ago. Can you try deactivating it on the site where you took the screenshot to see if the option still appears? |
@alaczek is this something your team can look at? |
Quick summary
The group block will have padding on some elements preventing content from aligning correctly inside the block. This is easiest to see with a group block and center-aligned column blocks inside of it.
Steps to reproduce
Here is the code of the group block I used:
What you expected to happen
The blocks should look like they do in the editor.
What actually happened
Instead, there is padding added to the bottom of the block.
Editor view:
Live View:
The space with the red rectangle shows the extra padding added by the theme.
Hemingway Re-written live view:
Less pronounced but still there.
Twenty Twenty-One live view:
Looks good here.
Context
Platform (Simple, Atomic, or both?)
Simple, Atomic
Theme-specific issue?
Dyad 2, Hemingway Re-written
Browser, operating system and other notes
No response
Reproducibility
Consistent
Severity
Some (< 50%)
Available workarounds?
Yes, easy to implement
Workaround details
CSS can fix the issue, it seems to vary from theme to theme.
On Dyad 2, set a no-padding custom class to the block and add this code:
On Hemingway Re-written it's caused by the paragraph block having added padding. Set the same no-padding class to the group block and then use this code:
The text was updated successfully, but these errors were encountered: