[wp-trac] [WordPress Trac] #56360: Twenty Twenty: Font size issue in H1 Heading block

WordPress Trac noreply at wordpress.org
Mon May 6 08:14:56 UTC 2024


#56360: Twenty Twenty: Font size issue in H1 Heading block
---------------------------+------------------------------
 Reporter:  kajalgohel     |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  6.0
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  ui, css
---------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  needs-patch => has-patch


Comment:

 I created two different patches.
 1. [attachment:"56360.has-background.diff"] only changes the `box-sizing`
 property with elements that have the `has-background` class, which is the
 focus of this ticket.
 2. Twenty Twenty's [https://core.trac.wordpress.org/browser/trunk/src/wp-
 content/themes/twentytwenty/style.css?rev=57886&marks=130,145-152#L128
 front-end styles] set a default `box-sizing` for all elements and pseudo-
 elements, and the editor could have something similar.
 [attachment:"56360.any.diff"] might make elements' width and padding
 accurate more often in the editor, though that would dramatically increase
 the scope of this ticket.

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


More information about the wp-trac mailing list