Make WordPress Core

Opened 20 months ago

Last modified 9 months ago

#56138 new defect (bug)

Twenty Nineteen: Alignment issue in Button block

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

Description

In Twenty Nineteen 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 Nineteen 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: https://share.cleanshot.com/6IuBdTOGj2AwxsqaPA3C

Thanks

Attachments (2)

#56138.patch (929 bytes) - added by kmadhak 20 months ago.
Added Patch for Editor Side
56138.patch (937 bytes) - added by varshil151189 20 months ago.
Patch file for the Frontend side

Download all attachments as: .zip

Change History (6)

@kmadhak
20 months ago

Added Patch for Editor Side

@varshil151189
20 months ago

Patch file for the Frontend side

#1 @varshil151189
20 months ago

  • Keywords needs-testing added; needs-patch removed

#2 @kmadhak
20 months ago

  • Keywords has-patch added

#3 @ugyensupport
20 months ago

I could replicate this button block issue on alignment to the right side.
How could I reproduce
Steps to replicate:
1: Activate the T20 Theme
2: Add Button block
3: Choose "Align right" from Align option
4: View the page/post on the editor side
5: Save Page/Post
6: View the page/post on the front side

WordPress Version : 6.0
Operating System: MACOS 11.6.6
Browser : Google Chrome 10.5

Props to @kajalgohel Video link: https://share.cleanshot.com/6IuBdTOGj2AwxsqaPA3C

#4 @alvitazwar052
9 months ago

  • Keywords needs-testing has-patch removed
  • Version changed from 6.0 to 6.0.3

Test Report

Patch tested: https://core.trac.wordpress.org/attachment/ticket/56138/56138.patch

Environment

  • OS: macOS 12.4
  • Web Server: Nginx
  • PHP: 7.4.33
  • WordPress: 6.3-alpha-55505-src
  • Browser: Chrome
  • Theme: Twenty Twenty-two,Twenty-ninetine

ScreenCast

With Twenty-ninetine Theme: https://www.loom.com/share/3d8d34d261f64e57ab37ac30e3d33bbf
With Twenty-Twenty-two Theme: https://www.loom.com/share/dde01f2dc4d74a318caa8cb3abe1a65d

Actual Results

  • Right alignment issue is fixed with the patch✅
Version 0, edited 9 months ago by alvitazwar052 (next)
Note: See TracTickets for help on using tickets.