Skip to content

Commit a092554

Browse files
authored
Update slider styles to use border class
1 parent fbe8ff5 commit a092554

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/slider.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Slider({
4343
<SliderPrimitive.Track
4444
data-slot="slider-track"
4545
className={cn(
46-
"bg-muted border-indigo-900 relative grow outline overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
46+
"bg-muted border border-indigo-900 relative grow outline overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
4747
)}
4848
>
4949
<SliderPrimitive.Range
@@ -57,7 +57,7 @@ function Slider({
5757
<SliderPrimitive.Thumb
5858
data-slot="slider-thumb"
5959
key={index}
60-
className="border-indigo-900 ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
60+
className="border border-indigo-900 ring-ring/50 block size-4 shrink-0 rounded-full bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
6161
/>
6262
))}
6363
</SliderPrimitive.Root>

0 commit comments

Comments
 (0)