Skip to content

Commit

Permalink
Fix min-width to be equals to thumb size
Browse files Browse the repository at this point in the history
  • Loading branch information
uabarahona committed Aug 7, 2020
1 parent 767e316 commit 344faee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/src/slider/slider.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const SliderStyles = css`
transform: translateY(calc(var(--thumb-translate) * 1px));
}
:host(.horizontal) {
min-width: calc(var(--design-unit) * 60px);
min-width: calc(var(--thumb-size) * 1px);
}
:host(.horizontal) .track {
right: calc(var(--track-overhang) * 1px);
Expand Down

0 comments on commit 344faee

Please sign in to comment.