updated color vars and hide Safari negative margin horizontal scroll

This commit is contained in:
Gani Georgiev
2026-04-20 16:51:20 +03:00
parent 4ace75b3d5
commit 14e7286840
6 changed files with 14 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ const optionClass = "dropdown-item";
document.addEventListener(
"toggle",
(e) => {
if (e.newState != "open" || !e.target?.matches(".dropdown") || e.target.__keyboardNavRegistered) {
if (e.newState != "open" || !e.target || !e.target.matches(".dropdown") || e.target.__keyboardNavRegistered) {
return;
}