Skip to content

Commit

Permalink
fix(VSlider): correct first and last ticks position when vertical
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Dec 20, 2022
1 parent a681c88 commit 61d6cdb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vuetify/src/components/VSlider/VSliderTrack.sass
Expand Up @@ -141,8 +141,10 @@
@include tools.rtl()
transform: translate(calc(var(--v-slider-tick-size) / 2), calc(var(--v-slider-tick-size) / 2))

&--last
&--first
bottom: calc(0% + var(--v-slider-tick-size) + 1px)
&--last
bottom: calc(100% - var(--v-slider-tick-size) - 1px)

.v-slider-track__tick-label
margin-inline-start: calc(var(--v-slider-track-size) / 2 + #{$slider-tick-label-margin-start})
Expand Down

0 comments on commit 61d6cdb

Please sign in to comment.