From c5206e7eb97cee945094f10e7863c188dc952fff Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Mon, 26 Jun 2023 14:51:45 -0700 Subject: [PATCH] chore: :art: format --- .../client/src/components/MkMediaImage.vue | 5 ++-- .../client/src/components/MkMediaVideo.vue | 4 +-- .../src/components/MkVisibilityPicker.vue | 2 +- .../client/src/pages/settings/reaction.vue | 2 +- packages/client/src/pages/timeline.vue | 28 +++++++++++++------ packages/client/src/widgets/rss.vue | 4 +-- 6 files changed, 27 insertions(+), 18 deletions(-) diff --git a/packages/client/src/components/MkMediaImage.vue b/packages/client/src/components/MkMediaImage.vue index df2c75e14..cbd5c0515 100644 --- a/packages/client/src/components/MkMediaImage.vue +++ b/packages/client/src/components/MkMediaImage.vue @@ -55,7 +55,6 @@ import { defaultStore } from "@/store"; import { i18n } from "@/i18n"; import * as os from "@/os"; - const props = defineProps<{ image: misskey.entities.DriveFile; raw?: boolean; @@ -73,8 +72,8 @@ const url = function captionPopup() { os.alert({ type: "info", - text: props.image.comment - }) + text: props.image.comment, + }); } // Plugin:register_note_view_interruptor を使って書き換えられる可能性があるためwatchする diff --git a/packages/client/src/components/MkMediaVideo.vue b/packages/client/src/components/MkMediaVideo.vue index f743b1359..53dc6a8ab 100644 --- a/packages/client/src/components/MkMediaVideo.vue +++ b/packages/client/src/components/MkMediaVideo.vue @@ -85,8 +85,8 @@ const hide = ref( function captionPopup() { os.alert({ type: "info", - text: props.video.comment - }) + text: props.video.comment, + }); } onMounted(() => { diff --git a/packages/client/src/components/MkVisibilityPicker.vue b/packages/client/src/components/MkVisibilityPicker.vue index d724f94b7..ce51f851e 100644 --- a/packages/client/src/components/MkVisibilityPicker.vue +++ b/packages/client/src/components/MkVisibilityPicker.vue @@ -225,7 +225,7 @@ function choose(visibility: (typeof misskey.noteVisibilities)[number]): void { } .itemDescription { - opacity: .6; + opacity: 0.6; display: block; line-height: 1.5; } diff --git a/packages/client/src/pages/settings/reaction.vue b/packages/client/src/pages/settings/reaction.vue index 60f1ee03d..9f6d26407 100644 --- a/packages/client/src/pages/settings/reaction.vue +++ b/packages/client/src/pages/settings/reaction.vue @@ -137,7 +137,7 @@ import { i18n } from "@/i18n"; import { definePageMetadata } from "@/scripts/page-metadata"; import { deepClone } from "@/scripts/clone"; import { unisonReload } from "@/scripts/unison-reload"; -import {addSkinTone } from "@/scripts/emojilist"; +import { addSkinTone } from "@/scripts/emojilist"; async function reloadAsk() { const { canceled } = await os.confirm({ diff --git a/packages/client/src/pages/timeline.vue b/packages/client/src/pages/timeline.vue index 88c41d283..91c92c9be 100644 --- a/packages/client/src/pages/timeline.vue +++ b/packages/client/src/pages/timeline.vue @@ -17,8 +17,8 @@ />
-