fix(switch): cursor should be pointer except when disabled

fixes #5075

PiperOrigin-RevId: 574526749
This commit is contained in:
Elliott Marquez 2023-10-18 10:52:35 -07:00 committed by Copybara-Service
parent 5280c6ec27
commit 9a3ff289f5

View File

@ -89,6 +89,11 @@
outline: none;
vertical-align: top;
-webkit-tap-highlight-color: transparent;
cursor: pointer;
}
:host([disabled]) {
cursor: default;
}
:host([touch-target='wrapper']) {
@ -130,6 +135,7 @@
position: absolute;
width: 100%;
z-index: 1;
cursor: inherit;
}
:host([touch-target='none']) input {