Drupal: CSS support for line wrapping in menus

Secondary and especially tertiary menus have the potential to overrun the width allotted in the layout. Allow items that exceed the width to wrap (ugly, but better than hiding them; then admins know to shorten menu titles).

(DBOINCP-205)
This commit is contained in:
Tristan Olive 2015-10-19 13:20:02 -04:00
parent a492679b12
commit 27035e70b6
1 changed files with 2 additions and 2 deletions

View File

@ -31,11 +31,12 @@ li a.active {
#secondary-menu,
ul#secondary-menu,
#navigation .block .menu {
height: 34px;
height: auto;
line-height: 33px;
margin: 0 0 0 -1px;
float: left;
clear: both;
padding: 7px 0;
}
#navigation .block .menu {
border-top: 1px dashed #ccc;
@ -44,7 +45,6 @@ ul#secondary-menu,
#secondary-menu li,
#navigation .block .menu li {
padding: 0;
margin: 7px 0 0;
border-left: 1px solid #5a5758;
}
#secondary-menu li.first,