Skip to content

Commit 0af1323

Browse files
committed
fix(material/slider): add cursor pointer for label
our label in slider doesn't have contain cursor point style as we can still click on label and toggle slider fixes #26490
1 parent 7ad7de6 commit 0af1323

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/material/slide-toggle/slide-toggle.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
@include token-utils.create-token-slot(letter-spacing, label-text-letter-spacing);
5656
@include token-utils.create-token-slot(line-height, label-text-line-height);
5757
@include token-utils.create-token-slot(font-weight, label-text-weight);
58+
59+
// Our label for slide-toggle should have cursor as pointer, we can still
60+
// click on it and the slide-toggle will toggle.
61+
cursor: pointer;
5862
}
5963
}
6064
}

0 commit comments

Comments
 (0)