#TextInput component: custom styles are overridden when using css modules to change the Input element
4 messages · Page 1 of 1 (latest)
Make sure that you are importing your styles after Mantine styles.
If you provide a repository based on one of the templates, I can have a look.
I was able to replicate it. The cause if it is having the components like <Header/> in the root folder at the same level as the root layout.
So probably not a Mantine specific problem. Just need to move the components to a nested folder to fix it.
https://github.com/joncoronel/testing-mantine-7
You can check this Next.js issue – https://github.com/vercel/next.js/issues/16630
GitHub
A user on twitter reported that Next.js may not order CSS imports from JS correctly. We need to investigate and fix this! https://twitter.com/samselikoff/status/1299032241100787712 NEXT-1350