Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(Card v4): has variant updated for v4 #6942

Closed

Conversation

rbrito02
Copy link

Looks like in v4 'has-' was changed to be ':has()' on the tailwind docs. The update is only present on the header for the docs, the rest is out of date.

I noticed this while trying to build a vite project utilizing both v4 and shadcn and was getting a minimized cs warning.

See the following: https://tailwindcss.com/docs/hover-focus-and-other-states#has

Looks like in v4 'has-' was changed to be ':has()' on the tailwind docs. The update is only present on the header for the docs, the rest is out of date.

I noticed this while trying to build a vite project utilizing both v4 and shadcn and was getting a minimized cs warning.

See the following: https://tailwindcss.com/docs/hover-focus-and-other-states#has
Copy link

vercel bot commented Mar 16, 2025

@rbrito02 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@shadcn
Copy link
Collaborator

shadcn commented Mar 16, 2025

hmm no the has- variant is the recommended one.

gRh9Z649

@rbrito02 rbrito02 closed this Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants