From da8df8b667fc57798c1de7d78c1a7f88b0419d38 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Fri, 18 Nov 2022 13:30:41 +0000 Subject: [PATCH] feat: move avatar class to where it is used (#2725) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2725 Co-authored-by: Dominik Pschenitschni Co-committed-by: Dominik Pschenitschni --- src/components/tasks/partials/comments.vue | 4 ++++ src/styles/theme/theme.scss | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/tasks/partials/comments.vue b/src/components/tasks/partials/comments.vue index f3180c7b4..afaa37f25 100644 --- a/src/components/tasks/partials/comments.vue +++ b/src/components/tasks/partials/comments.vue @@ -347,6 +347,10 @@ async function deleteComment(commentToDelete: ITaskComment) { } } +.image.is-avatar { + border-radius: 100%; +} + .media-content { width: calc(100% - 48px - 2rem); } diff --git a/src/styles/theme/theme.scss b/src/styles/theme/theme.scss index 17bc7e3d4..355841c78 100644 --- a/src/styles/theme/theme.scss +++ b/src/styles/theme/theme.scss @@ -77,11 +77,6 @@ h6 { overflow-x: auto; } -// FIXME: this should be moved in a Avatar component -.image.is-avatar { - border-radius: 100%; -} - button.table { margin-bottom: 0 !important; }