Don't use pointer cursor on disabled buttons by default (#5772)

This commit is contained in:
Adam Wathan 2021-10-13 06:11:28 -04:00 committed by GitHub
parent 25c8223d60
commit a7c89c8813
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -317,6 +317,13 @@ 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)