no pointer events for disabled buttons

This commit is contained in:
Miodec 2022-01-25 14:58:27 +01:00
parent 7408503db1
commit 53cbb7b808

View file

@ -281,6 +281,7 @@ key {
&.disabled {
opacity: 0.5;
cursor: default;
pointer-events: none;
&:hover {
color: var(--text-color);
background: rgba(0, 0, 0, 0.1);
@ -291,6 +292,7 @@ key {
&.disabled.active {
opacity: 0.5;
cursor: default;
pointer-events: none;
&:hover {
color: var(--bg-color);
background: var(--main-color);