aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-07-11 13:23:10 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-11 13:23:10 +0200
commitf98a092566c39e10936869f0b83ae0f77ea1672f (patch)
tree69fe47d6a957afe2c8dbab0e1740226fa82a5a6f
parent8619cf6fa65bbd90871e7b7fe29816092a9d6c33 (diff)
Dropdown menu max-height (#3102)
Reduce it on big screens
-rw-r--r--p/themes/base-theme/template.css2
-rw-r--r--p/themes/base-theme/template.rtl.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index 3394bf896..f2baeb3d1 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -304,7 +304,7 @@ a.btn {
}
.dropdown-menu-scrollable {
- max-height: 75vh;
+ max-height: min(75vh, 50em);
overflow-x: hidden;
overflow-y: auto;
}
diff --git a/p/themes/base-theme/template.rtl.css b/p/themes/base-theme/template.rtl.css
index 7985ff764..cb2b5f474 100644
--- a/p/themes/base-theme/template.rtl.css
+++ b/p/themes/base-theme/template.rtl.css
@@ -304,7 +304,7 @@ a.btn {
}
.dropdown-menu-scrollable {
- max-height: 75vh;
+ max-height: min(75vh, 50em);
overflow-x: hidden;
overflow-y: auto;
}