From dd8868a6f86055019822a831602b5c0e7809e7ba Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Thu, 21 Jul 2022 18:40:37 +0200 Subject: [PATCH] Make dropdown scrollable --- resources/assets/themes/base.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/resources/assets/themes/base.scss b/resources/assets/themes/base.scss index 8cb71267..e4033ab6 100644 --- a/resources/assets/themes/base.scss +++ b/resources/assets/themes/base.scss @@ -167,6 +167,12 @@ table a > .icon-icon_angel { } } +.dropdown-menu { + // prevent dropdown-menu from overflowing the view + max-height: calc(100vh - $navbar-height - 16px); // 16px extra padding + overflow: auto; +} + .selection .checkbox { display: block; }