[wp-trac] [WordPress Trac] #58989: Avatar block alignment is not working well in some themes

WordPress Trac noreply at wordpress.org
Mon Aug 7 14:51:47 UTC 2023


#58989: Avatar block alignment is not working well in some themes
----------------------------------+------------------------------
 Reporter:  pitamdey              |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Editor                |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  move-to-github close  |     Focuses:  css
----------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => move-to-github close
 * component:  Bundled Theme => Editor


Comment:

 Thanks for the report!

 This is an editor problem, so it should be fixed in the Gutenberg plugin
 first. Please report it on GitHub:
 https://github.com/WordPress/gutenberg/issues/new/choose

 GB39794 added `margin: 0 auto` to an Avatar block element when centering
 it, but the `.wp-block-avatar` container does not get the `.aligncenter`
 class. It needs a different CSS selector (or it needs to add alignment
 classes).

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


More information about the wp-trac mailing list