From 67e476ce54d3c7132c32477b8c3176f739e6ae12 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Sun, 11 Jun 2023 22:38:15 +0900 Subject: [PATCH] fix note avatar style --- packages/frontend/src/components/MkNote.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 7d739a5c77..d45f18a5e1 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -681,8 +681,8 @@ function showReactions(): void { flex-shrink: 0; display: block !important; margin: 0 14px 0 0; - width: 48px; - height: 48px; + width: 58px; + height: 58px; position: sticky !important; top: calc(22px + var(--stickyTop, 0px)); left: 0; @@ -831,6 +831,11 @@ function showReactions(): void { .article { padding: 24px 26px; } + + .avatar { + width: 50px; + height: 50px; + } } @container (max-width: 500px) { @@ -882,7 +887,6 @@ function showReactions(): void { width: 46px; height: 46px; top: calc(14px + var(--stickyTop, 0px)); - transition: top 0.5s; } }