From 353198ed2f28c65e765540a2934bade23c5b1482 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sat, 25 Feb 2023 20:22:17 -0500 Subject: [PATCH] =?UTF-8?q?fix=20subnote=20body=20clip=20area=E2=84=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/client/src/components/MkNoteSub.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index f0c5ecb7a..e10b8204e 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -77,6 +77,7 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item } } + > .main { display: flex; @@ -95,10 +96,8 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item flex: 1; min-width: 0; cursor: pointer; - margin: -200px; - padding: 200px; - margin-bottom: 0; - padding-bottom: 0; + margin: 0 -200px; + padding: 0 200px; overflow: clip; @media (pointer: coarse) { cursor: default; @@ -131,7 +130,10 @@ const replies: misskey.entities.Note[] = props.conversation?.filter(item => item } } } - + &:first-child > .main > .body { + margin-top: -200px; + padding-top: 200px; + } &.reply { --avatarSize: 38px; .avatar-container {