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 13
13
slider- handle- height: 20px ,
14
14
slider- handle- shape: 50% ,
15
15
slider- handle- width: 20px ,
16
+ slider- thumb- height: 48px ,
17
+ slider- thumb- width: 48px ,
16
18
slider- inactive- track- height: 4px ,
17
19
slider- inactive- track- shape: 9999px ,
18
20
slider- value- indicator- border- radius: 4px ,
Original file line number Diff line number Diff line change 24
24
slider- active- track- height: 4px ,
25
25
slider- handle- height: 20px ,
26
26
slider- handle- width: 20px ,
27
+ slider- thumb- height: 48px ,
28
+ slider- thumb- width: 48px ,
27
29
slider- inactive- track- height: 4px ,
28
30
slider- with- overlap- handle- outline- width: 1px ,
29
31
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();
175
175
left : -24px ;
176
176
outline : none ;
177
177
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 ) ;
180
180
pointer-events : none ;
181
181
182
182
.mdc-slider--discrete & {
@@ -299,7 +299,7 @@ $fallbacks: m3-slider.get-tokens();
299
299
outline : none ;
300
300
vertical-align : middle ;
301
301
cursor : pointer ;
302
- height : 48 px ;
302
+ height : token-utils . slot ( slider-thumb-height , $fallbacks ) ;
303
303
margin : 0 $mat-slider-horizontal-margin ;
304
304
position : relative ;
305
305
touch-action : pan-y ;
You can’t perform that action at this time.
0 commit comments