From 4f4fa737501a35d8cc2ebdd39c0b52d4e1109a46 Mon Sep 17 00:00:00 2001 From: Aonrud Date: Thu, 2 Mar 2023 11:53:28 +0000 Subject: [PATCH] feat: give attachments same width as note text by using indent for icon Pushes the attachment box with the paperclip icon out so the content and not the container are aligned with the note text. --- app/scss/ila.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/scss/ila.scss b/app/scss/ila.scss index e2cd00b..33e70a8 100644 --- a/app/scss/ila.scss +++ b/app/scss/ila.scss @@ -254,8 +254,9 @@ header.microblog { .activity-attachment { position: relative; display: flex; - padding-left: 50px; - max-width: 100%; + padding-left: 65px; + margin-left: -65px; + max-width: calc(100% + 65px); flex-wrap: wrap; &.single { .attachment-item, .attachment-wrapper {