[wp-trac] [WordPress Trac] #61672: Twenty Twelve: navigation block submenus are cut off

WordPress Trac noreply at wordpress.org
Thu Jul 18 06:09:11 UTC 2024


#61672: Twenty Twelve: navigation block submenus are cut off
---------------------------+-----------------------------
 Reporter:  poena          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  css
---------------------------+-----------------------------
Changes (by sabernhardt):

 * keywords:   => needs-patch
 * focuses:   => css
 * milestone:  Awaiting Review => Future Release


Comment:

 Twenty Twelve uses `overflow: hidden` to clear floats in (at least) the
 post and comment pagination link `nav` elements
 ([https://github.com/thethemefoundry/twentytwelve/commit/e4e96a3064391e3b7eb65d05384fbffb7c3224b6
 committed on GitHub] between [20219] and [21261]).

 While hiding the overflow clips one side of the focus outline for previous
 and next links, I'm reluctant to replace the floating or to add an
 `::after` clearfix in a 12-year-old theme.

 To adjust for only the Navigation block, the theme's `blocks.css` could
 include
 {{{
 nav.wp-block-navigation {
         overflow: visible;
 }
 }}}

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


More information about the wp-trac mailing list