Skip to content

Commit ecac3b5

Browse files
zelliottamysorto
authored andcommitted
fix(material/slider): Style should only be applied when slider is focused. (#23184)
(cherry picked from commit 3231d1d)
1 parent c2458f9 commit ecac3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/slider/_slider-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666

6767
.mat-slider:hover,
68-
.cdk-focused {
68+
.mat-slider.cdk-focused {
6969
.mat-slider-track-background {
7070
background-color: $mat-slider-off-focused-color;
7171
}

0 commit comments

Comments
 (0)