@@ -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
}
@@ -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 {
.separator {
display: block;
height: 0;