From c41879c542f0a1a5c3d5a92d5fbabca61b9b161c Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 14 Jan 2023 17:23:49 +0900 Subject: [PATCH] refactor(client): use css modules --- .../src/components/MkNotifications.vue | 6 +- .../frontend/src/components/MkPageWindow.vue | 6 +- .../src/components/MkReactionEffect.vue | 44 ++++----- .../src/components/MkReactionTooltip.vue | 30 +++--- .../components/MkReactionsViewer.details.vue | 98 +++++++++---------- .../components/MkReactionsViewer.reaction.vue | 22 ++--- .../src/components/MkReactionsViewer.vue | 30 +++--- .../src/components/MkRemoteCaution.vue | 14 +-- .../frontend/src/components/MkSparkle.vue | 22 ++--- .../src/components/MkUserOnlineIndicator.vue | 14 +-- 10 files changed, 139 insertions(+), 147 deletions(-) diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index 8dc49cf269..ab5dff8db5 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -8,7 +8,7 @@ -
+
@@ -133,8 +133,8 @@ defineExpose({ }); - diff --git a/packages/frontend/src/components/MkReactionTooltip.vue b/packages/frontend/src/components/MkReactionTooltip.vue index 3b3c2c1a1d..4d67dc3da2 100644 --- a/packages/frontend/src/components/MkReactionTooltip.vue +++ b/packages/frontend/src/components/MkReactionTooltip.vue @@ -1,8 +1,8 @@ @@ -23,20 +23,20 @@ const emit = defineEmits<{ }>(); - diff --git a/packages/frontend/src/components/MkReactionsViewer.details.vue b/packages/frontend/src/components/MkReactionsViewer.details.vue index 6ec227b0ed..b4210be911 100644 --- a/packages/frontend/src/components/MkReactionsViewer.details.vue +++ b/packages/frontend/src/components/MkReactionsViewer.details.vue @@ -1,16 +1,16 @@ @@ -92,8 +92,8 @@ useTooltip(buttonEl, async (showing) => { }, 100); - diff --git a/packages/frontend/src/components/MkReactionsViewer.vue b/packages/frontend/src/components/MkReactionsViewer.vue index 724489bf86..5981471c68 100644 --- a/packages/frontend/src/components/MkReactionsViewer.vue +++ b/packages/frontend/src/components/MkReactionsViewer.vue @@ -1,5 +1,12 @@ @@ -19,29 +26,26 @@ const initialReactions = new Set(Object.keys(props.note.reactions)); const isMe = computed(() => $i && $i.id === props.note.userId); - diff --git a/packages/frontend/src/components/MkRemoteCaution.vue b/packages/frontend/src/components/MkRemoteCaution.vue index 054c58da80..f6081816ae 100644 --- a/packages/frontend/src/components/MkRemoteCaution.vue +++ b/packages/frontend/src/components/MkRemoteCaution.vue @@ -1,5 +1,5 @@ - diff --git a/packages/frontend/src/components/MkSparkle.vue b/packages/frontend/src/components/MkSparkle.vue index 0f268a9d1a..ba1493aa71 100644 --- a/packages/frontend/src/components/MkSparkle.vue +++ b/packages/frontend/src/components/MkSparkle.vue @@ -1,6 +1,6 @@ -