From bc2f36009bd4f008341df34f6f93a00b061b84cc Mon Sep 17 00:00:00 2001 From: Brian Miller Date: Mon, 25 Jul 2022 11:19:57 -0500 Subject: [PATCH] =?UTF-8?q?account=20for=20=E2=80=94open=20and=20show=20al?= =?UTF-8?q?l=20comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../marko-web-theme-monorail/scss/components/_comments.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/marko-web-theme-monorail/scss/components/_comments.scss b/packages/marko-web-theme-monorail/scss/components/_comments.scss index 864273c46..b57434269 100644 --- a/packages/marko-web-theme-monorail/scss/components/_comments.scss +++ b/packages/marko-web-theme-monorail/scss/components/_comments.scss @@ -39,12 +39,17 @@ $bottom-gradient-height: 180px !default; .idx-comment-stream { &:not(.idx-comment-stream__counter--1) { max-height: $comment-start-height; + overflow: hidden; } } &--open { .idx-comment-stream { max-height: 100%; overflow: visible; + &:not(.idx-comment-stream__counter--1) { + max-height: initial; + overflow: visible; + } } height: initial; max-height: initial; @@ -59,7 +64,6 @@ $bottom-gradient-height: 180px !default; .idx-comment-stream { $self: &; - overflow: hidden; position: relative; display: block; padding-top: map-get($spacers, block);