Skip to content

Commit 28e2566

Browse files
committed
fixup! fix(material/slider): fix value indicator bubble for m3
1 parent 0483c46 commit 28e2566

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/material-experimental/theming/_custom-tokens.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@
516516
value-indicator-caret-height: _hardcode(10.5px, $exclude-hardcoded),
517517
value-indicator-caret-offset: _hardcode(-6px, $exclude-hardcoded),
518518
value-indicator-border-radius: _hardcode(50%, $exclude-hardcoded),
519-
value-indicator-padding: _hardcode(0px, $exclude-hardcoded),
519+
value-indicator-padding: _hardcode(0, $exclude-hardcoded),
520520
);
521521
}
522522

src/material/core/tokens/m2/mat/_slider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ $prefix: (mat, slider);
2424
value-indicator-caret-height: 6px,
2525
value-indicator-caret-offset: -5px,
2626
value-indicator-border-radius: 4px,
27-
value-indicator-padding: 0px 12px,
27+
value-indicator-padding: 0 12px,
2828
);
2929
}
3030

src/material/slider/slider.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ $mat-slider-horizontal-margin: 8px !default;
111111
@include token-utils.create-token-slot(padding, value-indicator-padding);
112112
@include token-utils.create-token-slot(border-radius, value-indicator-border-radius);
113113

114-
&:before {
114+
&::before {
115115
@include token-utils.create-token-slot(border-left-width, value-indicator-caret-width);
116116
@include token-utils.create-token-slot(border-right-width, value-indicator-caret-width);
117117
@include token-utils.create-token-slot(border-top-width, value-indicator-caret-height);

0 commit comments

Comments
 (0)