Fix disabled for button link without href

This commit is contained in:
Lucas Larroche 2021-12-31 12:51:37 +07:00
parent 90f3eb9fb3
commit 07817a3fd1
17 changed files with 31 additions and 48 deletions

View file

@ -950,12 +950,9 @@ input[type=reset]:focus {
button[disabled],
input[type=submit][disabled],
input[type=button][disabled],
input[type=reset][disabled] {
opacity: 0.5;
pointer-events: none;
}
a[role=button][href=""] {
input[type=reset][disabled],
a[role=button]:not([href]),
a[role=button][disabled] {
opacity: 0.5;
pointer-events: none;
}