huntabyte / shadcn-svelte

shadcn/ui, but for Svelte. ✨
https://shadcn-svelte.com
MIT License
4.95k stars 304 forks source link

[Slider] vertical orientation's styling is broken #1147

Open mnpqraven opened 3 months ago

mnpqraven commented 3 months ago

Describe the bug

if we set orientation='vertical' to Slider component then only the direction is vertical, the draggable viewport is still the small height from the default horizontal direction image

pictured is the vertical slider inside a square div

    <TooltipContent class="h-48 w-48">
      <Slider max={100} step={1} orientation="vertical" />
    </TooltipContent>

Reproduction

https://stackblitz.com/edit/shadcn-svelte-select-label-jacxfi?file=src%2Froutes%2F%2Bpage.svelte

Logs

No response

System Info

from repro sandbox

Severity

annoyance

ohthepain commented 1 week ago

I am getting the same thing. I would give it a bit more severity.