[PrimeReact] Styles problems with NextJS + Tailwind #294
-
Hi, It's my first time using PrimeReact with NextJS and Tailwind and I have problem in my styles and I don't understand why. I realized if you "play" with the styles and hide some of them you can "repair" a little bit but broke others. I think the styles are being steppedProblem 1 (Opening Stackblitz)If I open in Chrome (left side) works perfectly. But If I open in Firefox (right side) it's broken. (Button "Volver atrás", calendar input, dividers, and button at the bottom) Problem 2 (Opening Netlify)I uploaded almost the same code to Netlify to check it and in Chrome and Firefox it's broken. Problem 3 (Opening VERCEL)Here you can see the problem too: https://estadisticas-guardavidas.vercel.app/pages/salvaments Hope someone knows If i'm doing something wrong or it's a bug. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
I don't know why but it looks like Firefox and Chrome are interpreting the |
Beta Was this translation helpful? Give feedback.
-
Yep, but if you check the Netlify example, in both cases it's broken too, Chrome, Firefox. |
Beta Was this translation helpful? Give feedback.
-
Maybe yes but I tried moving the order of the CSS layers and always the same result. |
Beta Was this translation helpful? Give feedback.
I found this possible solution: https://soydiego.notion.site/PrimeReact-How-to-fix-styles-NextJS-Tailwind-92bec3eb91594388a7be67d922460eaf