Skip to content

Commit 38003ef

Browse files
committed
fix(material/slider): set word-break on value-indicator (#27709)
* fixes #27612 (cherry picked from commit 3b25de9)
1 parent 875e710 commit 38003ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/material/slider/slider.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ $mat-slider-horizontal-margin: 8px !default;
7272
.mdc-slider__track--active_fill {
7373
transition-duration: 80ms;
7474
}
75+
76+
// Stop parent word-break from altering
77+
// the word-break of the value indicator.
78+
.mdc-slider__value-indicator {
79+
word-break: normal;
80+
}
7581
}
7682

7783
.mdc-slider__track,

0 commit comments

Comments
 (0)