fix attachments row not hiding at the same time as preview

when selecting item without attachment
This commit is contained in:
Yoonchae Lee 2024-04-09 21:18:25 +09:00
parent 03d0ea4366
commit 4ed95db898

View file

@ -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;