diff --git a/packages/components/src/components/slider/_slider.scss b/packages/components/src/components/slider/_slider.scss index 36427087b781..5707cf6eabea 100644 --- a/packages/components/src/components/slider/_slider.scss +++ b/packages/components/src/components/slider/_slider.scss @@ -116,7 +116,7 @@ .#{$prefix}--slider-text-input, .#{$prefix}-slider-text-input { - width: auto; + width: rem(64px); height: rem(40px); -moz-appearance: textfield; text-align: center; diff --git a/packages/styles/scss/components/slider/_slider.scss b/packages/styles/scss/components/slider/_slider.scss index 35b83349914b..c99db693c0bc 100644 --- a/packages/styles/scss/components/slider/_slider.scss +++ b/packages/styles/scss/components/slider/_slider.scss @@ -124,7 +124,7 @@ .#{$prefix}--slider-text-input, .#{$prefix}-slider-text-input { - width: auto; + width: rem(64px); height: rem(40px); -moz-appearance: textfield; text-align: center;