Close menus when the rest of the page is clicked

Ce-authored-by: Joachim <joachim.robert@protonmail.com>
This commit is contained in:
Mouse Reeve 2021-12-04 11:51:57 -08:00
parent f98fe0348a
commit 7050013144

View file

@ -119,6 +119,15 @@ details .dropdown-menu {
display: block !important;
}
details.dropdown[open] summary.dropdown-trigger::before {
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
summary::marker {
content: none;
}