From 658936a070c30a9687594ee8396ed620aeb0e5fc Mon Sep 17 00:00:00 2001 From: Elscrux Date: Fri, 24 May 2024 12:45:06 +0200 Subject: [PATCH] File name and cover label styling improvement --- frontend/src/components/tasks/partials/attachments.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/tasks/partials/attachments.vue b/frontend/src/components/tasks/partials/attachments.vue index 392636c9f..1049306f6 100644 --- a/frontend/src/components/tasks/partials/attachments.vue +++ b/frontend/src/components/tasks/partials/attachments.vue @@ -328,8 +328,10 @@ async function setCoverImage(attachment: IAttachment | null) { } .filename { + display: flex; + align-items: center; font-weight: bold; - margin-bottom: .25rem; + height: 2rem; color: var(--text); } @@ -463,6 +465,7 @@ async function setCoverImage(attachment: IAttachment | null) { .is-task-cover { background: var(--primary); color: var(--white); + margin-left: .25rem; padding: .25rem .35rem; border-radius: 4px; font-size: .75rem;