diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 6158d2778..f11b8bd10 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -66,7 +66,7 @@ SPDX-License-Identifier: AGPL-3.0-only
- +
@@ -941,12 +941,19 @@ function emitUpdReaction(emoji: string, delta: number) { .avatar { flex-shrink: 0; display: block !important; + position: sticky !important; margin: 0 14px 0 0; width: 58px; height: 58px; - //position: sticky !important; - //top: calc(22px + var(--MI-stickyTop, 0px)); + position: sticky !important; + top: calc(22px + var(--MI-stickyTop, 0px)); left: 0; + transition: top 0.5s; + + &.avatarReplyTo { + position: relative !important; + top: 0 !important; + } } .main {