nuxt / ui

A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.
https://ui.nuxt.com
MIT License
4.02k stars 508 forks source link

URange's UI breaks after a certain value #2016

Open sikhlana opened 3 months ago

sikhlana commented 3 months ago

Environment

N/A

Version

v2.18.3

Reproduction

N/A

Description

If you look closely to the slider in the docs page: https://ui.nuxt.com/components/range

The slider looks okay when a lower value is set: image

If the value is set around the maximum (>=95 ish?), the design breaks: image

Which is even more visible when the value is 100: image

And it's prominent when the size is set to 2xl: image

Also notice that the foreground isn't respecting the border radius of the "container"

Additional context

No response

Logs

No response

ldiellyoungl commented 2 months ago

try this

<URange size="2xl" v-model="value" class="m-10" :ui="{ progress: { rounded: 'rounded-full' } }" />

image