Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
897 stars 356 forks source link

Gallery and paragraph blocks missing default spacing #7743

Open Neha93517 opened 6 months ago

Neha93517 commented 6 months ago

Quick summary

The space between galleries and paragraphs is missing. Gallery blocks are showing one after another without any space to distinguish between the galleries. Paragraphs are also not retaining the spacing. Screenshot by user showing the Gallery without space: image

Screenshot of what the Gallery looked like before: image

Atomic site Theme: Revelar

The user reported this here: Zen - 8042332

Steps to reproduce

  1. Install the theme Revelar
  2. Create a post
  3. Add two Gallery blocks and save changes
  4. View the post and Galleries show up without spacing

What you expected to happen

Gallery blocks should have spacing in between to distinguish.

What actually happened

No space between Gallery blocks, resulting in those showing one after another.

Impact

One

Available workarounds?

No and the platform is unusable

Platform (Simple and/or Atomic)

No response

Logs or notes

The issue couldn't be replicated on other themes like twenty twenty-four

philnick206 commented 6 months ago

Just adding that the following CSS seems to work to rectify the issue:

.tiled-gallery__gallery
{
margin: 25px 0px;
}
mrfoxtalbot commented 6 months ago

Thank you for the report, @Neha93517! I did a quick test and this seems to be theme-related:

Twenty Twenty-Four: Screenshot 2024-04-16 at 14 43 35

Revelar: Screenshot 2024-04-16 at 14 43 41

I am going to move it to the themes repo and relabel it.

mrfoxtalbot commented 6 months ago

Please note that this is probably affecting other themes.