shadcn-ui / ui

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
https://ui.shadcn.com
MIT License
75.51k stars 4.74k forks source link

[bug]: Astro integration breaks existing tailwind styles #3687

Open ivanjeremic opened 6 months ago

ivanjeremic commented 6 months ago

Describe the bug

Following the https://ui.shadcn.com/docs/installation/astro guide breaks any existing and working tailwind styles.

Affected component/components

tw

How to reproduce

add tailwind to Astro the recommended way and make a simple layout with flexbox or grid for example then add shadCN to Astro like described here https://ui.shadcn.com/docs/installation/astro

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

WSL2, Chrome Latest

Before submitting

EdamAme-x commented 5 months ago

me too

eltonstewart commented 4 months ago

me too - no fix yet