From 27c3d4da3c4ebb6681adfada32a34a085c356a40 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 25 Dec 2025 11:28:51 +0200 Subject: [PATCH] style(attachment): improve paddings & margins, remove scroll for image --- apps/client/src/widgets/type_widgets/Attachment.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/Attachment.css b/apps/client/src/widgets/type_widgets/Attachment.css index ed0ab5f79..c618a26e2 100644 --- a/apps/client/src/widgets/type_widgets/Attachment.css +++ b/apps/client/src/widgets/type_widgets/Attachment.css @@ -78,7 +78,7 @@ .attachment-detail-wrapper.list-view { border-radius: 12px; background-color: var(--card-background-color); - padding: 6px 6px 0 6px; + padding: 6px; box-shadow: var(--card-box-shadow); } @@ -87,10 +87,6 @@ padding: 0; } -.attachment-content-wrapper img { - margin: 10px; -} - .attachment-detail-wrapper.list-view .attachment-content-wrapper img, .attachment-detail-wrapper.list-view .attachment-content-wrapper video { max-height: 300px; max-width: 90%; @@ -107,7 +103,7 @@ } .attachment-detail-wrapper .attachment-deletion-warning { - margin-top: 15px; + margin: 0.5em 0; } /* #endregion */