aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar romibi <romibi@bluewin.ch> 2019-12-28 15:01:55 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-12-28 15:01:55 +0100
commit518672fd279e97afeee0756ea812cd7f89c2f778 (patch)
tree00aee7e742820ab879c495e48cf2d7e466781c20 /p
parentd6b923763029e06ff77c555cb1b049b36b755bd9 (diff)
Fix labels dropdown not scrollable after a while (#2727)
Diffstat (limited to 'p')
-rw-r--r--p/themes/base-theme/template.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css
index ebceea526..cb468c845 100644
--- a/p/themes/base-theme/template.css
+++ b/p/themes/base-theme/template.css
@@ -321,10 +321,24 @@ a.btn {
position: fixed;
top: 0; bottom: 0;
left: 0; right: 0;
- z-index: -10;
+ z-index: -11;
cursor: default;
}
+.dropdown div.dropdown-close {
+ display: none;
+}
+
+.dropdown-target:target ~ div.dropdown-close {
+ display: block;
+ z-index: 999;
+ position: relative;
+}
+
+.dropdown-menu-scrollable .dropdown-close {
+ display: none;
+}
+
.separator {
display: block;
height: 0;