From 3500e035cd6db065dd581eb03f284a88cbc4790e Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 3 Jan 2023 14:21:32 +0900 Subject: [PATCH] refactor --- packages/frontend/src/components/MkMenu.vue | 4 ---- packages/frontend/src/components/MkNote.vue | 4 ++-- packages/frontend/src/components/MkNoteDetailed.vue | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/frontend/src/components/MkMenu.vue b/packages/frontend/src/components/MkMenu.vue index 808b2e8b81..263030e015 100644 --- a/packages/frontend/src/components/MkMenu.vue +++ b/packages/frontend/src/components/MkMenu.vue @@ -226,10 +226,6 @@ onBeforeUnmount(() => { border-radius: 6px; } - > * { - position: relative; - } - &:not(:disabled):hover { color: var(--accent); text-decoration: none; diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 883368a21a..5a97204bc5 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -59,7 +59,7 @@ -
+
@@ -529,7 +529,7 @@ function readPromo() { > .renote { padding: 8px 0; - > * { + > .note { padding: 16px; border: dashed 1px var(--renote); border-radius: 8px; diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index bac9c58b50..7d01a7bf75 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -70,7 +70,7 @@ -
+
{{ appearNote.channel.name }} @@ -491,7 +491,7 @@ if (appearNote.replyId) { > .renote { padding: 8px 0; - > * { + > .note { padding: 16px; border: dashed 1px var(--renote); border-radius: 8px;