From 276241cdffd5423c2f283c50d60f1edd556f9bf5 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 3 Dec 2025 18:29:49 +0200 Subject: [PATCH] style(attachment): basic attachment card design --- .../src/widgets/type_widgets/Attachment.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css index 81ecd349c..19c5757a2 100644 --- a/apps/client/src/widgets/type_widgets/Attachment.css +++ b/apps/client/src/widgets/type_widgets/Attachment.css @@ -24,9 +24,18 @@ flex-direction: column; } +.attachment-title { + font-size: 1.1rem; + margin: 0; + + a { + color: inherit !important; + } +} + .attachment-title-line { display: flex; - align-items: baseline; + align-items: center; gap: 1em; } @@ -61,6 +70,13 @@ height: 100%; } +.attachment-detail-wrapper.list-view { + border-radius: 12px; + background-color: var(--card-background-color); + padding: 0 6px; + box-shadow: var(--card-box-shadow); +} + .attachment-detail-wrapper.list-view .attachment-content-wrapper pre { max-height: 400px; padding: 0;