-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
Hi,
I'm trying to upgrade a project to Tailwind v2 that also uses TailwindUI.
I'm using react with styled-components.
I'm running into problems with @tailwindcss/forms
that renders my input fields differently depending wether I declare them in the same file as my App component or in a separate file. It seems like the order in the generated style
element is not the same.
I've built an example here: https://github.com/gligoran/twin-react-styled-components-bug (couldn't make it work on codesandbox: https://codesandbox.io/s/twin-react-styled-components-bug-bg82n).
The main part of the problem is this difference in order as you can see from these 2 screenshots:
kaisermann, vtrpldn, ethanve, greven, anthify and 2 more
Metadata
Metadata
Assignees
Labels
No labels