Make WordPress Core

Opened 5 weeks ago

Last modified 4 weeks ago

#61235 new defect (bug)

Twenty Nineteen: Button block padding is different in the editor

Reported by: pitamdey's profile pitamdey Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-screenshots has-patch
Focuses: css Cc:

Description

In Theme Twenty Nineteen , Button Block Font Size is different in editor side & frontend side

Attachments (2)

Screenshot 2024-05-17 at 12.29.45 PM.png (219.7 KB) - added by pitamdey 5 weeks ago.
Editor View
Screenshot 2024-05-17 at 12.30.52 PM.png (396.7 KB) - added by pitamdey 5 weeks ago.
Frontend View

Download all attachments as: .zip

Change History (6)

#1 @pitamdey
5 weeks ago

Sorry, to be more precise, it is the .wp-block-button_link font size.
Also we can see that there is a difference in the padding in the both side

Last edited 5 weeks ago by pitamdey (previous) (diff)

#2 @pitamdey
5 weeks ago

  • Summary changed from Twenty Nineteen : Button Block Text font size is different in both side to Twenty Nineteen : Button Block Text font size & its padding is different in both side

#3 @sabernhardt
5 weeks ago

  • Focuses css added
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Twenty Nineteen : Button Block Text font size & its padding is different in both side to Twenty Nineteen: Button block padding is different in the editor

The issue with a custom font size is already reported on #56443, but the padding could be fixed in the editor styles with this ticket.

This ticket was mentioned in PR #6576 on WordPress/wordpress-develop by @sabernhardt.


4 weeks ago
#4

  • Keywords has-patch added; needs-patch removed

Matches the Button links' front-end padding values in the editor styles.

Trac 61235

Note: See TracTickets for help on using tickets.