From aa1bd53a268095f31842bc045c9585e8e3f36809 Mon Sep 17 00:00:00 2001 From: Alfonso Salces Date: Thu, 1 Aug 2024 15:31:43 +0200 Subject: [PATCH] MOBILE-4070 attachments: Collapse mimetypes --- .../components/attachments/attachments.scss | 19 +++++++++++++-- .../attachments/core-attachments.html | 24 ++++++++++++++----- 2 files changed, 35 insertions(+), 8 deletions(-) diff --git a/src/core/components/attachments/attachments.scss b/src/core/components/attachments/attachments.scss index c6955211f..09b702537 100644 --- a/src/core/components/attachments/attachments.scss +++ b/src/core/components/attachments/attachments.scss @@ -1,3 +1,18 @@ -core-loading { - --loading-inline-min-height: 60px; +@use "theme/globals" as *; + +:host { + core-loading { + --loading-inline-min-height: 60px; + } + + .core-attachments { + @include margin-horizontal(null, var(--mdl-spacing-3)); + + &-header { + ion-icon { + @include margin-horizontal(null, var(--mdl-spacing-3)); + font-size: var(--mdl-typography-icon-fontSize-sm); + } + } + } } diff --git a/src/core/components/attachments/core-attachments.html b/src/core/components/attachments/core-attachments.html index 7ec85a4f7..a3108ab47 100644 --- a/src/core/components/attachments/core-attachments.html +++ b/src/core/components/attachments/core-attachments.html @@ -13,16 +13,28 @@