WordPress.org

Make WordPress Core

Opened 10 days ago

Last modified 10 days ago

#45866 new defect (bug)

Twenty Nineteen: Long submenu item titles do not wrap

Reported by: kjellr Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: needs-patch
Focuses: Cc:

Description

In the latest version of Twenty Nineteen (1.1), long submenu item titles do not wrap on desktop screens (looks like there's a whitespace: nowrap; rule applied to .main-navigation .sub-menu > li > a).

https://cldup.com/P4ghkyXNC8-3000x3000.png

These should wrap when necessary, and wrapped lines should be indented as in the following mockup:

https://cldup.com/PVn2wvPEBF-1200x1200.png

Change History (1)

#1 @mukesh27
10 days ago

In my case i have to remove whitespace: nowrap; from .main-navigation .sub-menu > li > a and also needs to change min-width: min-width: max-content; to min-width: min-width: 250px;

Note: See TracTickets for help on using tickets.