[wp-trac] [WordPress Trac] #61845: Twenty Twenty: correct font-size for Code block and other preformatted elements

WordPress Trac noreply at wordpress.org
Sat Aug 31 10:52:19 UTC 2024


#61845: Twenty Twenty: correct font-size for Code block and other preformatted
elements
--------------------------------------------+-------------------------
 Reporter:  viralsampat                     |       Owner:  karmatosed
     Type:  defect (bug)                    |      Status:  closed
 Priority:  normal                          |   Milestone:  6.7
Component:  Bundled Theme                   |     Version:  6.6.1
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  needs-testing has-patch commit  |     Focuses:  css
--------------------------------------------+-------------------------
Changes (by karmatosed):

 * owner:  (none) => karmatosed
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58960" 58960]:
 {{{
 #!CommitTicketReference repository="" revision="58960"
 Twenty Twenty: Correct font-size for Code block and other preformatted
 elements.

 The code block font-size was not the same in the editor and front. This
 sets it to 1em and corrects the value for preformatted elements along with
 adding border and padding in the editor for pre elements.

 Props viralsampat, mi5t4n, brobken, sabernhardt.
 Fixes #61845.
 }}}

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


More information about the wp-trac mailing list