From 8016a80606caf86be7e1252980949e4d54eda822 Mon Sep 17 00:00:00 2001 From: Carol Soliman <17387510+carsoli@users.noreply.github.com> Date: Wed, 25 May 2022 11:44:09 +0200 Subject: [PATCH] Revert "fix(KtComment): avatar gets squashed with large comments the comment-wrapper had flex: 1 1 auto changing it to flex: 1 means that it became flex: 1 1 0 the flex-basis is the third property/value changing it to `0` means that the elements WON'T change size after the space is redistributed this guarantees that the comment_wrapper doesn't take more space, ...and therefore squash the avatar" This reverts commit bf9d4cb4f4e3b95fde6a3f2446cd1d7900eb1bf0. --- packages/kotti-ui/source/kotti-style/_comments.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kotti-ui/source/kotti-style/_comments.scss b/packages/kotti-ui/source/kotti-style/_comments.scss index 03cdeb912a..117ed41eae 100644 --- a/packages/kotti-ui/source/kotti-style/_comments.scss +++ b/packages/kotti-ui/source/kotti-style/_comments.scss @@ -15,7 +15,7 @@ .comment__wrapper { display: flex; - flex: 1; + flex: 1 1 auto; flex-direction: column; margin-left: 0.4rem; }