From 2d15ed66672b8af8eb2d6f4c79efafeca6c94fd7 Mon Sep 17 00:00:00 2001 From: NoriDev Date: Fri, 16 Jun 2023 20:28:02 +0900 Subject: [PATCH] tweak 63afde0b --- packages/frontend/src/components/MkNote.vue | 15 +++++----- .../src/components/MkNoteDetailed.vue | 29 +++++-------------- 2 files changed, 16 insertions(+), 28 deletions(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 99fc2ea2cb..9b5dd565e6 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -102,13 +102,14 @@ @@ -816,7 +817,7 @@ function showReactions(): void { } .footer { - margin-bottom: -14px; + margin: 7px 0 -14px; } .footerButton { @@ -825,7 +826,7 @@ function showReactions(): void { opacity: 0.7; &:not(:last-child) { - margin-right: 28px; + margin-right: 10px; } &:hover { diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 0aa56dc35b..88021097a3 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -113,13 +113,14 @@ - - - - @@ -318,7 +319,7 @@ function renote(viaKeyboard = false) { const y = rect.top + (el.offsetHeight / 2); os.popup(MkRippleEffect, { x, y }, {}, 'end'); } - + os.api('notes/create', { renoteId: appearNote.id, }).then(() => { @@ -640,7 +641,7 @@ if (appearNote.replyId) { } .noteFooterInfo { - margin: 16px 0; + margin: 16px 0 4px; opacity: 0.7; font-size: 0.9em; } @@ -651,7 +652,7 @@ if (appearNote.replyId) { opacity: 0.7; &:not(:last-child) { - margin-right: 28px; + margin-right: 10px; } &:hover { @@ -706,14 +707,6 @@ if (appearNote.replyId) { } } -@container (max-width: 350px) { - .noteFooterButton { - &:not(:last-child) { - margin-right: 18px; - } - } -} - @container (max-width: 300px) { .root { font-size: 0.825em; @@ -723,12 +716,6 @@ if (appearNote.replyId) { width: 50px; height: 50px; } - - .noteFooterButton { - &:not(:last-child) { - margin-right: 12px; - } - } } .muted {