[wp-trac] [WordPress Trac] #53111: Issue with centered images when using Gutenberg Plugin und theme twenty twenty

WordPress Trac noreply at wordpress.org
Thu Apr 29 19:40:05 UTC 2021


#53111: Issue with centered images when using Gutenberg Plugin und theme twenty
twenty
--------------------------+------------------------------
 Reporter:  hage          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by sabernhardt):

 * component:  General => Editor


Comment:

 Hi @hage and thanks for the report!

 The Gutenberg plugin recently changed the image block margin from only the
 bottom to all directions:
 {{{
 .wp-block-image {
     margin: 0 0 1em;
 }
 }}}

 Twenty Twenty-One has styles to override the zero side margins, but Twenty
 Twenty does not (perhaps similar themes would have the same problem).

 We can move the report to GitHub if it's not there already.

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


More information about the wp-trac mailing list