From 852073fc68dd8263db24c9bc24a784676a545532 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 2 Feb 2017 10:33:23 +0100 Subject: dropdown menus should be restricted in height in normal view but not in collapsed view --- view/css/bootstrap-red.css | 7 +++++++ view/tpl/nav.tpl | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'view') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 39461ad32..f1ebb204e 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -35,6 +35,13 @@ aside .nav-pills > li > a, nav .dropdown-menu { margin-top: 0px; + max-height: 70vh; + overflow: auto; +} + +nav .navbar-collapse.in .dropdown-menu { + max-height: none; + overflow: none; } .wall-item-tools .dropdown-menu { diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index f74c88ce7..5a2dda730 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -180,9 +180,6 @@ - {{if $nav.help.6}}
-- cgit v1.2.3