Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#58989 new defect (bug)

Avatar block alignment is not working well in some themes

Reported by: pitamdey's profile pitamdey Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords: move-to-github close
Focuses: css Cc:


Avatar block alignment is not working in some themes like Twenty Twenty-one, Twenty nineteen, Twenty Seventeen and Twenty Sixteen but it is working fine with Twenty Twenty-two & Twenty Twenty-Three.
The Main issue is that centre align is not reflected in editor side
Here is a Video of the issue along with how it works :

Change History (3)

#1 @mikinc860
4 months ago

@pitamdey reference video is private. Please make it public so we can access and regenerate the issue.

#2 @pitamdey
4 months ago

Hi @mikinc860
I have made it public.

Last edited 4 months ago by pitamdey (previous) (diff)

#3 @sabernhardt
4 months ago

  • Component changed from Bundled Theme to Editor
  • Keywords move-to-github close added

Thanks for the report!

This is an editor problem, so it should be fixed in the Gutenberg plugin first. Please report it on GitHub:

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).

Note: See TracTickets for help on using tickets.