[wp-trac] [WordPress Trac] #53220: Twenty Twenty-One: Refactor or remove navigation item padding CSS

WordPress Trac noreply at wordpress.org
Mon Sep 27 12:58:07 UTC 2021


#53220: Twenty Twenty-One: Refactor or remove navigation item padding CSS
---------------------------+------------------------------
 Reporter:  Joen           |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  5.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+------------------------------

Comment (by Joen):

 I took a stab at a patch for this in https://github.com/WordPress
 /wordpress-develop/pull/1723. There are a few issues around the padding,
 much of it related to how heavily TT1 styles the navigation block, which
 has then drifted due to how much the block has evolved over the past year.
 In this gallery there are a few screenshots of how there's a top/bottom
 margin on every block, there's a separate padding value attached to the
 wrong element, and incorrect spacing between items due to the change to
 using gap: https://cloudup.com/c5HjvVORdzJ

 I haven't been working on TT1 initially, so there's likely a lot of
 context for the original styles that I'm unaware of. So I would appreciate
 a good test.

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


More information about the wp-trac mailing list