hngngn / shadcn-solid

shadcn/ui, but for Solid.
https://shadcn-solid.com
MIT License
250 stars 13 forks source link

[bug]: The Unocss tab component's trigger style is not the same as the one provided in the example #120

Closed Niavana97 closed 1 week ago

Niavana97 commented 2 weeks ago

Describe the bug

old style image new style image

Affected component/components

Tabs

How to reproduce

old class: inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-shadow focus-visible:outline-none focus-visible:ring-[1.5px] focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[selected]:bg-background data-[selected]:text-foreground data-[selected]:shadow new class: w-full relative z-10 inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium transition-colors disabled:(pointer-events-none opacity-50) data-[selected]:text-foreground peer h-7 outline-none

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Edge 127.0.2651.105

Before submitting

hngngn commented 2 weeks ago

can you provide a minimal reproducible example