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 8dc49cf26..ab5dff8db 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 3b3c2c1a1..4d67dc3da 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 6ec227b0e..b4210be91 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 724489bf8..5981471c6 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 054c58da8..f6081816a 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 0f268a9d1..ba1493aa7 100644 --- a/packages/frontend/src/components/MkSparkle.vue +++ b/packages/frontend/src/components/MkSparkle.vue @@ -1,6 +1,6 @@ -