From 4c3ae7826359dd87c887e4a96b6013c2f4ad3d50 Mon Sep 17 00:00:00 2001 From: laf Date: Tue, 14 Jan 2014 14:37:43 +0000 Subject: [PATCH] Locations in the dropdown menu now scrollable --- html/css/styles.css | 7 +++++++ html/includes/print-menubar.php | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/html/css/styles.css b/html/css/styles.css index 70883a1545..40f0c242a0 100644 --- a/html/css/styles.css +++ b/html/css/styles.css @@ -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; +} diff --git a/html/includes/print-menubar.php b/html/includes/print-menubar.php index 2f9182523b..0312cff999 100644 --- a/html/includes/print-menubar.php +++ b/html/includes/print-menubar.php @@ -68,7 +68,7 @@ if ($config['show_locations']) echo('