Merge pull request #2366 from nqst/popup-disabled-buttons-no-pointer-events

Popups: remove hover styles from disabled menu items
This commit is contained in:
Andy Smith
2026-01-16 14:19:57 -06:00
committed by GitHub
+5 -1
View File
@@ -123,6 +123,10 @@
}
}
&:has(.popup__btn[disabled]) {
pointer-events: none;
}
.checked {
display: none;
}
@@ -155,7 +159,7 @@
max-inline-size: 100%;
padding: var(--inline-space-half) var(--popup-item-padding-inline);
text-align: start;
&:focus-visible {
z-index: 1;
}