Closed LeunensMichiel closed 2 years ago
I cannot reproduce that on codesandbox – https://codesandbox.io/s/relaxed-engelbart-g08q9s?file=/src/App.tsx
Reproduced it by adding a button using the classNames prop (which I'm using)
<Button classNames={{ filled: useStyles().classes.button }}>
className radius
</Button>
These classes are meant for colors customizations only, you can add radius with root
selector
What package has an issue
@mantine/core
Describe the bug
Using Remix v1.4.3 and @mantine/core v4.2.2:
I applied local borderRadius styling on a button component. But the css always defaults to the
defaultRadius
prop defined inMantineProvider
's theme prop.Fixed it by using
!important
in createStyles, but I don't think that should be the case.Here's a snippet of my
createStyles
codeIn which browser did the problem occur
Chrome v100
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
No response