mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-24 13:15:45 +00:00
when building using vite and tailwind vite plugin
this following warning appears
```
rendering chunks (10)...warnings when minifying css:
▲ [WARNING] Unexpected ")" [css-syntax-error]
grid-cols-\[1fr_auto\]:has(:is()){grid-template-columns:1fr
^
```
this is fixed by complying to tailwind new way of writing data attribute documented [here](https://tailwindcss.com/docs/hover-focus-and-other-states#data-attributes)
change
```
[data-slot=card-action]:
```
to
```
data-[slot=card-action]:
```
resolves https://github.com/shadcn-ui/ui/issues/6930