You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** If fluid is set to true, size prop is ignored and Container always take 100% of width */
"always take 100% of width" makes me think that the Container has the css prop width: 100%, but in reality it has max-width: 100%. It took me 10 minutes and the devtools to find out that it follows the second behaviour. :(
What version of @mantine/hooks page do you have in package.json?
^5.0
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
Change description to If fluid is set to true, size prop is ignored and Container can expand to 100% of width or something similar (maybe reference the max-width prop as well)
The text was updated successfully, but these errors were encountered:
What package has an issue
@mantine/core
Describe the bug
mantine/src/mantine-core/src/Container/Container.tsx
Line 15 in 8a2b20e
"always take 100% of width" makes me think that the Container has the css prop
width: 100%
, but in reality it hasmax-width: 100%
. It took me 10 minutes and the devtools to find out that it follows the second behaviour. :(What version of @mantine/hooks page do you have in package.json?
^5.0
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
Change description to
If fluid is set to true, size prop is ignored and Container can expand to 100% of width
or something similar (maybe reference themax-width
prop as well)The text was updated successfully, but these errors were encountered: