Make WordPress Core

#56334 closed defect (bug) (reported-upstream)

Social icons block not centered in the editor when choosing "Align center"

Reported by: smit08's profile smit08 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-testing-info has-screenshot
Focuses: css Cc:

Description

Added the social icon block. And set the center alignment to social icon block but social icons are still in left alignment. Center alignment not working.

Steps to reproduce:

  1. Activate the Twenty Twenty-Two theme.
  2. Add the social icon block.
  3. Now set the center alignment. You can see it will not be in center alignment.

Attachments (3)

CleanShot 2022-08-04 at 22.51.19@2x.png (971.0 KB) - added by smit08 14 months ago.
In editor the social icon block has center alignment issue.
CleanShot 2022-08-04 at 22.51.33@2x.png (212.4 KB) - added by smit08 14 months ago.
In front side the social icon block is working proper in center alignment
CleanShot 2022-08-05 at 12.31.18@2x.png (1.1 MB) - added by smit08 14 months ago.

Change History (9)

@smit08
14 months ago

In editor the social icon block has center alignment issue.

@smit08
14 months ago

In front side the social icon block is working proper in center alignment

#1 @sabernhardt
14 months ago

  • Component changed from Bundled Theme to Editor
  • Focuses css added
  • Keywords close move-to-github added; needs-patch removed
  • Summary changed from In Twenty Twenty-Two theme the social icons block has center alignment issue. to Social icons block not centered in the editor when choosing "Align center"

Thanks for the report!

The alignment is wrong in the editor with TT1 Blocks as well, so the report belongs on the Gutenberg GitHub repository to be fixed in the plugin. Could you open a new issue there?
https://github.com/WordPress/gutenberg/issues/new/choose

#2 @smit08
14 months ago

Hi @sabernhardt, TT1 means Twenty Twenty-One theme right? I checked in the Twenty Twenty-One theme but the social icon block is running fine in all alignment options.

Last edited 14 months ago by smit08 (previous) (diff)

#3 @sabernhardt
14 months ago

"TT1 Blocks" is a separate, block-based theme that uses the same design as Twenty Twenty-One.

#4 @sabernhardt
14 months ago

If you would prefer, I could move the report to GitHub :)

#5 @smit08
14 months ago

Hi @sabernhardt

Ok move this ticket to GitHub. And after creating it on GitHub can you please share the link here. So I can apply PR on that issue. I want to work on this issue but rightnow I was on holidays so I forgot to remove this ticket to GitHub.

Thank you.

#6 @sabernhardt
14 months ago

  • Keywords close move-to-github removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.