Skip to content

Commit 62063c6

Browse files
committed
set slider to specific width without margin
1 parent ce850d8 commit 62063c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/material-experimental/mdc-slider/slider.spec.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,11 @@ function flushRequestAnimationFrame() {
12291229
// Disable animations and make the slider an even 100px, so that we get nice
12301230
// round values in tests.
12311231
const styles = `
1232-
.mat-mdc-slider { min-width: 100px !important; }
1232+
.mat-mdc-slider {
1233+
min-width: 100px !important;
1234+
width: 100px !important;
1235+
margin: 0px !important;
1236+
}
12331237
`;
12341238

12351239
@Component({

0 commit comments

Comments
 (0)