From e6e055f294c0a0a6cdbc51282606e596634e4b67 Mon Sep 17 00:00:00 2001 From: Jan Vollmer Date: Sat, 20 Aug 2022 13:36:32 +0200 Subject: [PATCH] [@mantine/core] Container: Change desc of fluid prop (#2179) Description of fluid prop was misleading because it implied that the prop would apply `width: 100%`, but it actually applies `max-width: 100%` --- src/mantine-core/src/Container/Container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mantine-core/src/Container/Container.tsx b/src/mantine-core/src/Container/Container.tsx index c7ac0975616..612a23f619b 100644 --- a/src/mantine-core/src/Container/Container.tsx +++ b/src/mantine-core/src/Container/Container.tsx @@ -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 */