Skip to content

Commit

Permalink
Revert "fix(KtComment): avatar gets squashed with large comments the …
Browse files Browse the repository at this point in the history
…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 bf9d4cb.
  • Loading branch information
carsoli committed May 25, 2022
1 parent 5561c18 commit 8016a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kotti-ui/source/kotti-style/_comments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

.comment__wrapper {
display: flex;
flex: 1;
flex: 1 1 auto;
flex-direction: column;
margin-left: 0.4rem;
}
Expand Down

0 comments on commit 8016a80

Please sign in to comment.