diff --git a/CHANGELOG.md b/CHANGELOG.md index cb83551e0d..51b0adfc3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### BREAKING CHANGES - Restrict Typescript checks for component props @kuzhelov ([#1290](https://github.com/stardust-ui/react/pull/1290)) - Aligned focus styles for `Chat.Message` component with latest Teams theme design @Bugaa92 ([#1269](https://github.com/stardust-ui/react/pull/1269)) +- Fix styles for `fill` prop of `Flex` @kuzhelov ([#1352](https://github.com/stardust-ui/react/pull/1352)) ### Fixes - Fixed `Flex.Item` children prop type @mnajdova ([#1320](https://github.com/stardust-ui/react/pull/1320)) diff --git a/packages/react/src/themes/base/components/Flex/flexStyles.ts b/packages/react/src/themes/base/components/Flex/flexStyles.ts index 9d2adf390d..cde9351be1 100644 --- a/packages/react/src/themes/base/components/Flex/flexStyles.ts +++ b/packages/react/src/themes/base/components/Flex/flexStyles.ts @@ -27,6 +27,7 @@ const flexStyles: ComponentSlotStylesInput = { ...(p.wrap && { flexWrap: 'wrap' }), ...(p.fill && { + width: '100%', height: '100%', }),