Revert "Don't use cursor: pointer for buttons by default (#8962)"
This reverts commit ed3a4f3032.
This commit is contained in:
parent
a1346c9a8e
commit
e1aafc5df5
3 changed files with 120 additions and 98 deletions
|
|
@ -315,6 +315,22 @@ textarea::placeholder {
|
|||
color: theme('colors.gray.400', #9ca3af); /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
Set the default cursor for buttons.
|
||||
*/
|
||||
|
||||
button,
|
||||
[role="button"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*
|
||||
Make sure disabled buttons don't get the pointer cursor.
|
||||
*/
|
||||
:disabled {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
||||
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue