Make WordPress Core

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

Twenty Twenty-Two: Alignment issue in Button block

Reported by: kajalgohel's profile kajalgohel Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords:
Focuses: ui, css Cc:


In Twenty Twenty-Two Theme, when we add Button block in editor side and change the alignment of Button then the "Align right" is not reflected in backend as well as frontend side.

Steps to replicate:
1: Activate the Twenty Twenty-Two Theme
2: Add Button block
3: Choose "Align right" from Align option
4: View the page/post at editor side
5: Save Page/Post
6: View the page/post at front side

For better understanding I provide video attachment link.
Video link:


Attachments (1)

56404.patch (1.0 KB) - added by varshil151189 20 months ago.
Patch added for Button alignment

Download all attachments as: .zip

Change History (3)

20 months ago

Patch added for Button alignment

#1 @varshil151189
20 months ago

  • Keywords has-patch needs-testing added; needs-patch removed

#2 @poena
16 months ago

  • Keywords has-patch needs-testing removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

The button block alignment, justification and text alignment has been updated in Gutenberg in this pull request 45663:
I have confirmed that it solves the problems with the right alignment in Twenty Twenty-Two.

Note: See TracTickets for help on using tickets.