[wp-trac] [WordPress Trac] #61672: Twenty Twelve: navigation block submenus are cut off
WordPress Trac
noreply at wordpress.org
Thu Jul 18 16:32:49 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: has-patch | Focuses: css
---------------------------+-----------------------------
Changes (by sabernhardt):
* keywords: needs-patch => has-patch
Comment:
[attachment:"61672.clearfix.diff"]
- Removes `overflow: hidden` from any `nav` elements in the `.site-
content` area.
- Adds an `:after` pseudo-element (but not `:before`) to clear the floats
for post and comment pagination.
- Sets the width to `1px` in case someone added `display: flex` to either
navigation.
[attachment:"61672.blocks.css.diff"] (simpler option)
- Keeps `overflow: hidden` for `nav` elements in the `.site-content` area.
- Overrides `overflow: hidden` for the Navigation block **only**.
- Uses `.site-content .wp-block-navigation` as the selector to reflect the
scope of `.site-content nav`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61672#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list