Skip to content

Commit

Permalink
[@mantine/core] Container: Change desc of fluid prop (mantinedev#2179)
Browse files Browse the repository at this point in the history
Description of fluid prop was misleading because it implied that the prop would apply `width: 100%`, but it actually applies `max-width: 100%`
  • Loading branch information
jvllmr authored and nmay231 committed Aug 28, 2022
1 parent 94a4724 commit 98f83d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantine-core/src/Container/Container.tsx
Expand Up @@ -12,7 +12,7 @@ export interface ContainerProps extends DefaultProps, React.ComponentPropsWithou
/** Predefined container max-width or number for max-width in px */
size?: MantineNumberSize;

/** If fluid is set to true, size prop is ignored and Container always take 100% of width */
/** If fluid is set to true, size prop is ignored and Container can expand to 100% of width */
fluid?: boolean;

/** Container sizes */
Expand Down

0 comments on commit 98f83d8

Please sign in to comment.