[wp-trac] [WordPress Trac] #54944: By applying a background color to a group block, it aligns to the left in the editor

WordPress Trac noreply at wordpress.org
Fri Jan 28 14:14:00 UTC 2022


#54944: By applying a background color to a group block, it aligns to the left in
the editor
-----------------------------+------------------------
 Reporter:  eddystile        |       Owner:  audrasjb
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.9.1
Component:  Bundled Theme    |     Version:  5.9
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:
-----------------------------+------------------------

Comment (by webmandesign):

 Just a quick note here as I haven't tested this thoroughly, but I just
 dealt with a customer experiencing similar issue.

 I've found out the issue was coming in my case from Gutenberg plugin
 applying `margin: 0;` on the affected block (where horizontal margins of
 `auto` coming from theme were effectively overridden with this). Not sure
 why though. After disabling Gutenberg plugin the issue disappeared.

 Hope this helps somehow if it is related.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54944#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list