mirror of https://github.com/BOINC/boinc.git
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:
parent
a492679b12
commit
27035e70b6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue