[wp-trac] [WordPress Trac] #61845: Twenty Twenty theme: The code block font-size not same on editor & front-end sides.

WordPress Trac noreply at wordpress.org
Wed Aug 14 01:24:55 UTC 2024


#61845: Twenty Twenty theme: The code block font-size not same on editor & front-
end sides.
-------------------------------------------------+-------------------------
 Reporter:  viralsampat                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:  6.6.1
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing reporter-feedback      |     Focuses:  css
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by brobken):

 In my opinion, it shouldn't be defined on the frontend CSS with 0.9em, but
 rather a definition in 1.8rem.
 Resulting to being rendered from 17.01 px to 18px now.

 This makes it easier to have it set also in the backend editor at this
 size. I don't know if that's a problem? In the meantime I've submitted a
 possible solution.

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


More information about the wp-trac mailing list