[wp-trac] [WordPress Trac] #60993: Twenty Twenty-One: Preformatted block font size is smaller in the editor than on the front end

WordPress Trac noreply at wordpress.org
Wed Jul 2 09:48:10 UTC 2025


#60993: Twenty Twenty-One: Preformatted block font size is smaller in the editor
than on the front end
-----------------------------------------+-----------------------------
 Reporter:  viralsampat                  |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Future Release
Component:  Bundled Theme                |     Version:  5.6
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  ui, css
-----------------------------------------+-----------------------------
Changes (by rishabhwp):

 * keywords:  has-patch changes-requested reporter-feedback => has-patch
     reporter-feedback


Comment:

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-One 2.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1. ✅ The issue is **reproducible** in the **Twenty Twenty-One** theme.
 2. ❌ The issue is **not reproducible** in the **Twenty Twenty** theme. It
 appears to have been resolved in that theme.

 === Additional Notes
 - The issue, tracked in #61845, appears to have addressed the font size
 inconsistency between the editor and front-end for the preformatted block
 in the Twenty Twenty theme.

 - As the ticket had become stale, I have submitted a PR with the requested
 changes to address the issue in the Twenty Twenty-One theme.

 === Supplemental Artifacts

 ==== Twenty Twenty theme (Editor)
 [[Image(https://i.ibb.co/N6TBZHct/Screenshot-2025-07-02-at-2-55-30-PM.png)]]
 ==== Twenty Twenty theme (Frontend)

 [[Image(https://i.ibb.co/CKC1QNhx/Screenshot-2025-07-02-at-2-55-46-PM.png)]]

 ==== Twenty Twenty-One theme (Editor)
 [[Image(https://i.ibb.co/F4HztFZg/Screenshot-2025-07-02-at-3-10-23-PM.png)]]

 ==== Twenty Twenty-One theme (Frontend)
 [[Image(https://i.ibb.co/pBpcVTG0/Screenshot-2025-07-02-at-3-10-45-PM.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60993#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list