File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1313 slider- handle- height: 20px ,
1414 slider- handle- shape: 50% ,
1515 slider- handle- width: 20px ,
16+ slider- thumb- height: 48px ,
17+ slider- thumb- width: 48px ,
1618 slider- inactive- track- height: 4px ,
1719 slider- inactive- track- shape: 9999px ,
1820 slider- value- indicator- border- radius: 4px ,
Original file line number Diff line number Diff line change 2424 slider- active- track- height: 4px ,
2525 slider- handle- height: 20px ,
2626 slider- handle- width: 20px ,
27+ slider- thumb- height: 48px ,
28+ slider- thumb- width: 48px ,
2729 slider- inactive- track- height: 4px ,
2830 slider- with- overlap- handle- outline- width: 1px ,
2931 slider- with- tick- marks- active- container- opacity: 0.38 ,
Original file line number Diff line number Diff line change @@ -175,8 +175,8 @@ $fallbacks: m3-slider.get-tokens();
175175 left : -24px ;
176176 outline : none ;
177177 position : absolute ;
178- height : 48 px ;
179- width : 48 px ;
178+ height : token-utils . slot ( slider-thumb-height , $fallbacks ) ;
179+ width : token-utils . slot ( slider-thumb-width , $fallbacks ) ;
180180 pointer-events : none ;
181181
182182 .mdc-slider--discrete & {
@@ -299,7 +299,7 @@ $fallbacks: m3-slider.get-tokens();
299299 outline : none ;
300300 vertical-align : middle ;
301301 cursor : pointer ;
302- height : 48 px ;
302+ height : token-utils . slot ( slider-thumb-height , $fallbacks ) ;
303303 margin : 0 $mat-slider-horizontal-margin ;
304304 position : relative ;
305305 touch-action : pan-y ;
You can’t perform that action at this time.
0 commit comments