Make WordPress Core

Opened 3 months ago

Closed 3 months ago

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

Twenty Twenty-Two: Quote block border width different when aligning text to the right

Reported by: viralsampat's profile viralsampat Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5
Component: Editor Keywords:
Focuses: ui, css Cc:

Description

Hello,

I have reviewed the "Quote" block and found that its border width is changed when we change its text alignment from left to right. I think that it should be same for left alignment and right alignment.

For better understanding I have attached its screenshots below:

Environment info:


  • WordPress version: WordPress 6.5.2 running,
  • Twenty Twenty Twenty-Two: Version: 1.7
  • Browser: Google Chrome, Version 123.0.6312.124 (Official Build) (arm64)
  • Device: MacBook Air M1
  • OS: macOS 14.4.1 (23E224)
  • Gutenberg plugin: Version 18.1.2

Thanks,

Attachments (5)

CleanShot 2024-04-19 at 03.41.42@2x.png (625.9 KB) - added by viralsampat 3 months ago.
Left align
CleanShot 2024-04-19 at 03.40.37@2x.png (629.2 KB) - added by viralsampat 3 months ago.
Right align
61041.patch (479 bytes) - added by viralsampat 3 months ago.
I have checked above mentioned issue and resolved it. Here, I have added my patch.
CleanShot 2024-04-19 at 13.23.56@2x.png (667.4 KB) - added by viralsampat 3 months ago.
After patch left align
CleanShot 2024-04-19 at 13.23.18@2x.png (667.2 KB) - added by viralsampat 3 months ago.
After patch right align

Change History (7)

#1 @mayur8991
3 months ago

  • Keywords needs-patch added

@viralsampat
3 months ago

I have checked above mentioned issue and resolved it. Here, I have added my patch.

@viralsampat
3 months ago

After patch left align

@viralsampat
3 months ago

After patch right align

#2 @sabernhardt
3 months ago

  • Component changed from Bundled Theme to Editor
  • Keywords dev-feedback needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed
  • Summary changed from Twenty Twenty Two theme: Quote block border width change when we change it text alignment. to Twenty Twenty-Two: Quote block border width different when aligning text to the right

Thanks! This is reported on the Gutenberg repository, and I would like it to be fixed there instead of in individual themes.
https://github.com/WordPress/gutenberg/issues/37198

Note: See TracTickets for help on using tickets.