From 4ed95db8985bc0ac7e34d4e1b3008a76b1fa1844 Mon Sep 17 00:00:00 2001 From: Yoonchae Lee Date: Tue, 9 Apr 2024 21:18:25 +0900 Subject: [PATCH] fix attachments row not hiding at the same time as preview when selecting item without attachment --- scss/elements/_attachmentsBox.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scss/elements/_attachmentsBox.scss b/scss/elements/_attachmentsBox.scss index ee39b3ba36..a36f3d22a7 100644 --- a/scss/elements/_attachmentsBox.scss +++ b/scss/elements/_attachmentsBox.scss @@ -24,8 +24,7 @@ attachments-box { } } - &:not([data-use-preview]), - & > collapsible-section[empty] { + &:not([data-use-preview]) { attachment-preview { visibility: hidden; display: none; @@ -35,6 +34,11 @@ attachments-box { @include svgicon-menu('preview-show', 'universal', '16'); } } + + & > collapsible-section[empty] > .body { + visibility: hidden; + display: none; + } & > collapsible-section > .body { display: flex;