mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Locations in the dropdown menu now scrollable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user