-
Notifications
You must be signed in to change notification settings - Fork 29
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
Issues using with Nextjs and tailwind #94
Labels
Comments
By default lists and such are unstyled in Tailwind - you can learn more about it here: https://tailwindcss.com/docs/preflight#lists-are-unstyled Tailwind does have some utility classes to add ordered, unordered, numbered lists etc.: https://tailwindcss.com/docs/list-style-type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using Sanity.io in my Nextjs project. My nextjs app uses Tailwind. The issue is that on my frontend where users can see my site the styling is not matching what is shown in Sanity.io backend. Some examples would be that my bullet list and number list are missing the dots or the numbers as well as the indent. If I go to my global.css and remove @tailwind base; then everything shows correctly on the frontend as it show on Sanity.io backend. It's like Tailwind has conflicts with PortableText.
Again the formatting that is presented on Sanity backend does not show the same while using the default settings Nextjs with Tailwind. However if I remove the following from the default global.css @tailwind base; everything present on Nextjs frontend the way it should The only problem is that I need Tailwind
The text was updated successfully, but these errors were encountered: