From 1acd717d9d9b1021af1fd396bdb85f23a752454b Mon Sep 17 00:00:00 2001 From: Michal Paszowski Date: Mon, 5 Dec 2022 15:54:48 +0100 Subject: [PATCH 1/2] by default place children components in column --- packages/react-components/src/components/Card/Card.module.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-components/src/components/Card/Card.module.scss b/packages/react-components/src/components/Card/Card.module.scss index d9123b2d7..6a5c6db8d 100644 --- a/packages/react-components/src/components/Card/Card.module.scss +++ b/packages/react-components/src/components/Card/Card.module.scss @@ -48,7 +48,7 @@ $base-class: card; &__content, &__expanded-content { display: flex; - flex-direction: row; + flex-direction: column; gap: 10px; align-items: flex-start; margin: 0; From e2b24b1852addd3ef0bab1e2352242af01d68619 Mon Sep 17 00:00:00 2001 From: Michal Paszowski Date: Fri, 9 Dec 2022 14:07:03 +0100 Subject: [PATCH 2/2] going back to default layout --- packages/react-components/src/components/Card/Card.module.scss | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/react-components/src/components/Card/Card.module.scss b/packages/react-components/src/components/Card/Card.module.scss index 6a5c6db8d..2f2d51a13 100644 --- a/packages/react-components/src/components/Card/Card.module.scss +++ b/packages/react-components/src/components/Card/Card.module.scss @@ -47,10 +47,7 @@ $base-class: card; &__content, &__expanded-content { - display: flex; - flex-direction: column; gap: 10px; - align-items: flex-start; margin: 0; width: 100%; }