From 254d35cba83df4ad1bc19d497398bc399bd34cad Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Fri, 4 Apr 2025 13:55:29 +0700 Subject: [PATCH] fix images in comment atachments was having wrong height --- .../components/CommentImageGrid/styles.module.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/containers/node/NodeComments/components/Comment/components/CommentContent/components/CommentImageGrid/styles.module.scss b/src/containers/node/NodeComments/components/Comment/components/CommentContent/components/CommentImageGrid/styles.module.scss index de654b99..9ed3343c 100644 --- a/src/containers/node/NodeComments/components/Comment/components/CommentContent/components/CommentImageGrid/styles.module.scss +++ b/src/containers/node/NodeComments/components/Comment/components/CommentContent/components/CommentImageGrid/styles.module.scss @@ -7,7 +7,7 @@ &.multiple { // Desktop devices - @include flexbin(25vh, $flexbin-space); + @include flexbin(400px, $flexbin-space); // Tablet devices @media (max-width: $flexbin-tablet-max) { @@ -27,8 +27,11 @@ max-width: 100%; .multiple & { - max-height: 250px; - max-inline-size: 250px; + // both of that were 250px, + // if you know why it should be like this, tell me + // it messes up with the flexbin above + max-height: 400px; + max-inline-size: 400px; } }