From 2e967a5edbefcfbd65c4da245f25695afc1861eb Mon Sep 17 00:00:00 2001 From: Elizabet Oliveira Date: Thu, 17 Nov 2022 15:56:14 +0000 Subject: [PATCH] [EuiCard] Fix bug with vertical cards not growing 100% in width (#6377) * Fix bug with vertical cards not growing in width * Adding CL * CL again --- src/components/card/card.styles.ts | 1 + upcoming_changelogs/6377.md | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 upcoming_changelogs/6377.md diff --git a/src/components/card/card.styles.ts b/src/components/card/card.styles.ts index 082b70f7d95..45c21d8eeee 100644 --- a/src/components/card/card.styles.ts +++ b/src/components/card/card.styles.ts @@ -73,6 +73,7 @@ export const euiCardStyles = ( main: { euiCard__main: css` display: flex; + inline-size: 100%; `, layout: { vertical: css` diff --git a/upcoming_changelogs/6377.md b/upcoming_changelogs/6377.md new file mode 100644 index 00000000000..5fd78265253 --- /dev/null +++ b/upcoming_changelogs/6377.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixed bug in `EuiCard` where the inner content in vertical cards was not growing 100% in width \ No newline at end of file