From 6e1d5f366d87875f43ab02f7a68d4350855f483e Mon Sep 17 00:00:00 2001 From: Freeplay Date: Tue, 23 May 2023 20:49:56 -0400 Subject: [PATCH] fix --- packages/client/src/components/MkNote.vue | 3 +++ packages/client/src/components/MkNoteSub.vue | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 223860683b..5b5e16fa40 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -807,6 +807,9 @@ defineExpose({ } > .article { padding: 4px 16px 8px; + &:first-child, &:nth-child(2) { + padding-top: 104px; + } > .main > .header-container > .avatar { margin-right: 10px; // top: calc(14px + var(--stickyTop, 0px)); diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 90fa205af6..987e8baf26 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -673,6 +673,10 @@ function noteClick(e) { > .main > .avatar-container { margin-right: 10px; } + &:first-child > .main > .body { + margin-top: -20px; + padding-top: 22px; + } } }