mirror of
https://github.com/material-components/material-web.git
synced 2026-01-09 07:21:09 +08:00
fix(checkbox): cursor should be pointer when not disabled
fixes #5079 PiperOrigin-RevId: 574295359
This commit is contained in:
parent
863109e204
commit
18fe45170a
@ -104,6 +104,7 @@ $_checkmark-bottom-left: 7px, -14px;
|
||||
position: absolute;
|
||||
width: 48px;
|
||||
z-index: 1;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
:host([touch-target='none']) input {
|
||||
@ -373,6 +374,10 @@ $_checkmark-bottom-left: 7px, -14px;
|
||||
opacity: var(--_disabled-container-opacity);
|
||||
}
|
||||
|
||||
.disabled input {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
:where(.selected.disabled) .outline {
|
||||
// Hide the outline behind the transparent selected container color.
|
||||
// This can be removed once disabled colors are flattened.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user