Make everything inside buttons un-pointer-able

Gets annoying when getting e.target from interacting with buttons
This commit is contained in:
Lim Chee Aun 2022-12-20 09:22:26 +08:00
parent 6397b2d67b
commit 75f03cf0eb

View file

@ -118,8 +118,9 @@ button,
vertical-align: middle;
text-decoration: none;
}
button > * {
:is(button, .button) > * {
vertical-align: middle;
pointer-events: none;
}
:is(button, .button):not(:disabled, .disabled):hover {
cursor: pointer;