From f3c0af7e2308bb019c6f973f51de115653f1a9af Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 10 Jan 2023 08:48:37 +0900 Subject: [PATCH] refactor(client): use css modules --- .../frontend/src/components/MkDateSeparatedList.vue | 1 - packages/frontend/src/components/MkNote.vue | 2 +- packages/frontend/src/components/MkNotes.vue | 12 ++++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/frontend/src/components/MkDateSeparatedList.vue b/packages/frontend/src/components/MkDateSeparatedList.vue index 1f88bdf13..5d8e14c3c 100644 --- a/packages/frontend/src/components/MkDateSeparatedList.vue +++ b/packages/frontend/src/components/MkDateSeparatedList.vue @@ -80,7 +80,6 @@ export default defineComponent({ } else { if (props.ad && item._shouldInsertAd_) { return [h(MkAd, { - class: 'a', // advertiseの意(ブロッカー対策) key: item.id + ':ad', prefer: ['horizontal', 'horizontal-big'], }), el]; diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 9b336191c..b6050beac 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -4,7 +4,7 @@ v-show="!isDeleted" ref="el" v-hotkey="keymap" - :class="[$style.root, { [$style.isRenote]: isRenote }]" + :class="$style.root" :tabindex="!isDeleted ? '-1' : null" > diff --git a/packages/frontend/src/components/MkNotes.vue b/packages/frontend/src/components/MkNotes.vue index 66bb3f261..73659fd50 100644 --- a/packages/frontend/src/components/MkNotes.vue +++ b/packages/frontend/src/components/MkNotes.vue @@ -8,9 +8,9 @@ @@ -36,8 +36,8 @@ defineExpose({ }); -