Fix labels dropdown not scrollable after a while (#2727)

This commit is contained in:
romibi
2019-12-28 15:01:55 +01:00
committed by Alexandre Alapetite
parent d6b9237630
commit 518672fd27
2 changed files with 16 additions and 1 deletions

View File

@@ -46,6 +46,7 @@
<li class="dropdown-close"><a href="#close"></a></li>
<!-- Ajax -->
</ul>
<div class="dropdown-close"><a href="#close"></a></div>
</div>
</li><?php
}

View File

@@ -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;