Locations in the dropdown menu now scrollable

This commit is contained in:
laf
2014-01-14 14:37:43 +00:00
parent fc7404a3c4
commit 4c3ae78263
2 changed files with 8 additions and 1 deletions

View File

@@ -1600,3 +1600,10 @@ tr.search:nth-child(odd) {
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}
.scrollable-menu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}

View File

@@ -68,7 +68,7 @@ if ($config['show_locations'])
echo('
<li class="dropdown-submenu">
<a href="#"><img src="images/16/building.png" border="0" align="absmiddle" /> Locations</a>
<ul class="dropdown-menu">
<ul class="dropdown-menu scrollable-menu">
');
if ($config['show_locations_dropdown'])
{