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

Missing tailwind option #4

Closed
crysis992 opened this issue Sep 30, 2023 · 1 comment
Closed

Missing tailwind option #4

crysis992 opened this issue Sep 30, 2023 · 1 comment

Comments

@crysis992
Copy link

At the start of your video, you modified the tailwind.config.ts and added:
maxWidth: { "8xl": "1408px", },

But later you installed a shadcn component via the cli.
What shadcn does when doing init, is replacing the whole theme config object, same for the globals.css.
Thats also why the blue color was gone that we pasted at the beginning (before doing the init) into our css and had to re-do it later in the video again.

So the max-w we are using the /dashboard/[fileid] is not doing anything.

@xuniorss
Copy link

xuniorss commented Oct 2, 2023

Just add it again and it should work again.

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

No branches or pull requests

3 participants