mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 02:36:15 -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
|
@ -1162,12 +1162,9 @@ a[role=button].outline.contrast: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