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

Gutenberg plugin: changes to RTL image margin CSS breaking layout #64927

Closed
kdevnel opened this issue Jun 24, 2022 · 3 comments
Closed

Gutenberg plugin: changes to RTL image margin CSS breaking layout #64927

kdevnel opened this issue Jun 24, 2022 · 3 comments
Labels
[Pri] Normal [Type] Bug User Report This issue was created following a WordPress customer report

Comments

@kdevnel
Copy link

kdevnel commented Jun 24, 2022

Quick summary

It appears that the latest Gutenberg plugin makes changes to default styles for image margins, and in this specific case that appears to break a page layout without an obvious solution.

Steps to reproduce

  1. Add columns block
  2. Insert images into the column blocks
  3. Toggle Gutenberg on and off to see the difference in styles

What you expected to happen

The styles shouldn't have changed in this way

What actually happened

It appears that the images are no longer having some margin styles applied:

Without Gutenberg:
Markup on 2022-06-24 at 09:40:12

With Gutenberg 13.5.0:
Markup on 2022-06-24 at 09:39:52

Context

5321874-zd-woothemes

Simple, Atomic or both?

No response

Theme-specific issue?

No response

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, difficult to implement

Workaround details

Only workaround I could think of involves CSS, something like this:

.wp-block-column figure {
  margin: 0;
    margin-bottom: 0px;
}
@kdevnel kdevnel added [Type] Bug User Report This issue was created following a WordPress customer report labels Jun 24, 2022
@Greatdane
Copy link

📌 SCRUBBING

  • Tested on Simple ✅
  • Tested on AT ✅
  • Tested on Self-hosted ✅
  • Replicable on Core - No

📌 FINDINGS/SCREENSHOTS/VIDEO

  • I can replicate only on Atomic.
  • Self-hosted with Version 13.5.2 seems to show no changes.

📌 ACTIONS

  • Marked as Triaged for Quality Squad review

@Greatdane
Copy link

Asked for more eyes here;
p1656558063049479-slack-CBTN58FTJ

@Greatdane
Copy link

Closing this as it relates to the broader issue here; #64964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Normal [Type] Bug User Report This issue was created following a WordPress customer report
Projects
None yet
Development

No branches or pull requests

2 participants