Closed kimfucious closed 1 month ago
I could not reproduce it in my environment, can you provide a sandbox that will reproduce it?
I tried the exact same code in mantine's storybook and it was properly styled. Also, you cannot assign 'md' etc. to size. If you want to do that, it would be fz
or something.
Thanks, @Kenzo-Wada.
Your helpful reply caused me to dig deeper and I discovered that RFS was preventing the size prop from working properly.
RFS is nice, but I'll probably do away with it, as using the size prop has more value for me.
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.12.12
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
All
Describe the bug
When using the Title component the size prop does not seem to be respected.
I'm specifically trying to use an H2 Header with a smaller font-size.
I've listed the below as a demonstration, knowing that some of these would never be used.
I could very well be doing something wrong, or misunderstanding what the size prop does, but this seems pretty straight forward.
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
No response
Self-service