mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
Fix disabled for button link without href
This commit is contained in:
parent
90f3eb9fb3
commit
07817a3fd1
17 changed files with 31 additions and 48 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue