We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add tailwind prefix to components.json file and use shadcn-vue CLI to add the Dialog component.
After adding the Tailwind prefix to the configuration, I noticed that the prefix is misapplied to negative values.
For example in the DialogContent component: https://github.com/unovue/shadcn-vue/blob/dev/apps/www/src/registry/new-york/ui/dialog/DialogContent.vue#L36
Results in tw--translate-x-1/2 tw--translate-y-1/2 instead of -tw-translate-x-1/2 -tw-translate-y-1/2
tw--translate-x-1/2 tw--translate-y-1/2
-tw-translate-x-1/2 -tw-translate-y-1/2
https://v3.tailwindcss.com/docs/configuration#prefix
Not necessary
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Reproduction
Add tailwind prefix to components.json file and use shadcn-vue CLI to add the Dialog component.
Describe the bug
After adding the Tailwind prefix to the configuration, I noticed that the prefix is misapplied to negative values.
For example in the DialogContent component:
https://github.com/unovue/shadcn-vue/blob/dev/apps/www/src/registry/new-york/ui/dialog/DialogContent.vue#L36
Results in
tw--translate-x-1/2 tw--translate-y-1/2
instead of-tw-translate-x-1/2 -tw-translate-y-1/2
https://v3.tailwindcss.com/docs/configuration#prefix
System Info
Contributes
The text was updated successfully, but these errors were encountered: