Make WordPress Core

Opened 8 weeks ago

Last modified 7 weeks ago

#61082 new defect (bug)

Twenty Twenty-One: Font size difference between editor & frontend in Latest Comments block

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

Description

In Twenty Twenty-One Theme, It seems like the latest block has a difference in the font-size between the editor side and the fronted side. Kindly check it
I have attached the screenshots for both side

Attachments (3)

Screenshot 2024-04-26 at 11.07.07 AM.png (325.5 KB) - added by pitamdey 8 weeks ago.
Editor View
Screenshot 2024-04-26 at 11.07.31 AM.png (245.2 KB) - added by pitamdey 8 weeks ago.
Frontend View
61082.diff (8.2 KB) - added by sabernhardt 7 weeks ago.
checks block for special font size before applying default, uses inherit for nested elements, and copies front-end styles to the editor stylesheet

Download all attachments as: .zip

Change History (4)

@sabernhardt
7 weeks ago

checks block for special font size before applying default, uses inherit for nested elements, and copies front-end styles to the editor stylesheet

#1 @sabernhardt
7 weeks ago

  • Focuses css added
  • Keywords has-patch needs-testing added
  • Milestone changed from Awaiting Review to Future Release
  • Summary changed from Twenty Twenty-One : Font Size difference between editor & frontend in Latest comments block to Twenty Twenty-One: Font size difference between editor & frontend in Latest Comments block
  • Version set to 5.8

Yes, the front end styles have a specific font size for the comments—plus their dates and excerpt paragraphs—without comparable styles in the _editor.scss file (since the theme's first version and in Seedlet). I selected 5.8 for the version because that is when the block was available in the Widgets area.

Note: See TracTickets for help on using tickets.