Skip to content

Commit a7c89c8

Browse files
authored
Don't use pointer cursor on disabled buttons by default (#5772)
1 parent 25c8223 commit a7c89c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/css/preflight.css

+7
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,13 @@ button,
317317
cursor: pointer;
318318
}
319319

320+
/*
321+
Make sure disabled buttons don't get the pointer cursor.
322+
*/
323+
:disabled {
324+
cursor: default;
325+
}
326+
320327
/*
321328
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
322329
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)

0 commit comments

Comments
 (0)