#Styles changing Select
1 messages · Page 1 of 1 (latest)
You probably need <MantineProvider withGlobalStyles withNormalizeCSS>
Still appears different top is pre update
Are you absolutely positive you don't have external styles, for example from tailwind? Pre-v5 mantine used to override styles that it might not now.
I am using tailwind yes
Then that's probably the issue.
#❓-faq message
I am not adding any tw classes to the select tho
Except for width and height and it is rendering those.
Did you add any of tailwind's base/global styles?
In any case, it might help to try to recreate the issue using the codesandbox provided in #🥦-rules to check if it really is mantine v4 to v5.
Think it has to do with .mantine-Select-selected no longer being available ?
Has to do with data-selected and data-hovered
Just need to figure out how to do it in sass now
Is there a way to do this with sass ?
yes, the same way with data attributes as shown in demo