From 73f53a93794a31cd4d0ba2b4588104beefe72230 Mon Sep 17 00:00:00 2001 From: Dennis Tang Date: Fri, 9 Mar 2018 15:32:14 +0100 Subject: adjust max-height to respect new max-height of dropdown component --- app/assets/stylesheets/framework/dropdowns.scss | 2 +- app/assets/stylesheets/pages/boards.scss | 2 +- app/assets/stylesheets/pages/labels.scss | 2 +- app/assets/stylesheets/pages/search.scss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/framework/dropdowns.scss b/app/assets/stylesheets/framework/dropdowns.scss index 127583626cf..c71846d4004 100644 --- a/app/assets/stylesheets/framework/dropdowns.scss +++ b/app/assets/stylesheets/framework/dropdowns.scss @@ -624,7 +624,7 @@ } .dropdown-content { - max-height: $dropdown-max-height; + max-height: 223px; overflow-y: auto; } diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index 2803144ef1d..430e2ff7024 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -32,7 +32,7 @@ width: 320px; .dropdown-content { - max-height: 150px; + max-height: 75px; } } diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index 0f49d15203b..f13ed3326fb 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -28,7 +28,7 @@ .dropdown-new-label { .dropdown-content { - max-height: 260px; + max-height: 136px; } } diff --git a/app/assets/stylesheets/pages/search.scss b/app/assets/stylesheets/pages/search.scss index c9363188505..dbde0720993 100644 --- a/app/assets/stylesheets/pages/search.scss +++ b/app/assets/stylesheets/pages/search.scss @@ -112,7 +112,7 @@ input[type="checkbox"]:hover { } .dropdown-content { - max-height: 350px; + max-height: 302px; } } -- cgit v1.2.1 From 04c51f01e7c5deb8e43592914a26b8c65740903c Mon Sep 17 00:00:00 2001 From: Dennis Tang Date: Fri, 9 Mar 2018 16:05:16 +0100 Subject: adjust height of dropdowns for IE11 compatibility --- app/assets/stylesheets/pages/boards.scss | 2 +- app/assets/stylesheets/pages/labels.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/pages/boards.scss b/app/assets/stylesheets/pages/boards.scss index 430e2ff7024..f309a7cc9af 100644 --- a/app/assets/stylesheets/pages/boards.scss +++ b/app/assets/stylesheets/pages/boards.scss @@ -32,7 +32,7 @@ width: 320px; .dropdown-content { - max-height: 75px; + max-height: 74px; } } diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss index f13ed3326fb..b0852adb459 100644 --- a/app/assets/stylesheets/pages/labels.scss +++ b/app/assets/stylesheets/pages/labels.scss @@ -26,6 +26,12 @@ } } +.dropdown-menu-labels { + .dropdown-content { + max-height: 135px; + } +} + .dropdown-new-label { .dropdown-content { max-height: 136px; -- cgit v1.2.1 From 348929764844c37e636d9ddeec8d5ad34eaee71a Mon Sep 17 00:00:00 2001 From: Dennis Tang Date: Fri, 9 Mar 2018 17:04:37 +0100 Subject: add max-height for move issue dropdown --- app/assets/stylesheets/framework/sidebar.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/framework/sidebar.scss b/app/assets/stylesheets/framework/sidebar.scss index d1d98270ad9..8c0dc41d926 100644 --- a/app/assets/stylesheets/framework/sidebar.scss +++ b/app/assets/stylesheets/framework/sidebar.scss @@ -152,3 +152,9 @@ .sidebar-collapsed-icon .sidebar-collapsed-value { font-size: 12px; } + +.sidebar-move-issue-dropdown { + .dropdown-content { + max-height: 160px; + } +} -- cgit v1.2.1