From 932929a4f15c33b3efcafe501e2724087facf389 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Sun, 14 May 2023 15:20:26 -0700 Subject: [PATCH] chore: formatting --- .../processors/db/import-calckey-post.ts | 4 +- .../queue/processors/db/import-masto-post.ts | 4 +- .../src/queue/processors/db/import-posts.ts | 5 ++- .../src/components/MkSubNoteContent.vue | 2 +- .../src/components/MkTutorialDialog.vue | 5 ++- .../client/src/pages/admin/experiments.vue | 4 +- packages/client/src/pages/timeline.vue | 42 +++++++++---------- 7 files changed, 33 insertions(+), 33 deletions(-) diff --git a/packages/backend/src/queue/processors/db/import-calckey-post.ts b/packages/backend/src/queue/processors/db/import-calckey-post.ts index 707933ae5..28e794aa0 100644 --- a/packages/backend/src/queue/processors/db/import-calckey-post.ts +++ b/packages/backend/src/queue/processors/db/import-calckey-post.ts @@ -1,9 +1,7 @@ import * as Post from "@/misc/post.js"; import create from "@/services/note/create.js"; import { Users } from "@/models/index.js"; -import type { - DbUserImportMastoPostJobData, -} from "@/queue/types.js"; +import type { DbUserImportMastoPostJobData } from "@/queue/types.js"; import { queueLogger } from "../../logger.js"; import type Bull from "bull"; diff --git a/packages/backend/src/queue/processors/db/import-masto-post.ts b/packages/backend/src/queue/processors/db/import-masto-post.ts index 98823d109..b4c526db2 100644 --- a/packages/backend/src/queue/processors/db/import-masto-post.ts +++ b/packages/backend/src/queue/processors/db/import-masto-post.ts @@ -1,8 +1,6 @@ import create from "@/services/note/create.js"; import { Users } from "@/models/index.js"; -import type { - DbUserImportMastoPostJobData, -} from "@/queue/types.js"; +import type { DbUserImportMastoPostJobData } from "@/queue/types.js"; import { queueLogger } from "../../logger.js"; import type Bull from "bull"; import { htmlToMfm } from "@/remote/activitypub/misc/html-to-mfm.js"; diff --git a/packages/backend/src/queue/processors/db/import-posts.ts b/packages/backend/src/queue/processors/db/import-posts.ts index 63e97789f..f92a5f710 100644 --- a/packages/backend/src/queue/processors/db/import-posts.ts +++ b/packages/backend/src/queue/processors/db/import-posts.ts @@ -3,7 +3,10 @@ import { Users, DriveFiles } from "@/models/index.js"; import type { DbUserImportPostsJobData } from "@/queue/types.js"; import { queueLogger } from "../../logger.js"; import type Bull from "bull"; -import { createImportCkPostJob, createImportMastoPostJob } from "@/queue/index.js"; +import { + createImportCkPostJob, + createImportMastoPostJob, +} from "@/queue/index.js"; const logger = queueLogger.createSubLogger("import-posts"); diff --git a/packages/client/src/components/MkSubNoteContent.vue b/packages/client/src/components/MkSubNoteContent.vue index 915e5a015..4742611ac 100644 --- a/packages/client/src/components/MkSubNoteContent.vue +++ b/packages/client/src/components/MkSubNoteContent.vue @@ -341,7 +341,7 @@ function focusFooter(ev) { > :deep(button) { margin-top: 10px; margin-left: 0; - margin-right: .4rem; + margin-right: 0.4rem; } } diff --git a/packages/client/src/components/MkTutorialDialog.vue b/packages/client/src/components/MkTutorialDialog.vue index 5a34b3f65..547ea0d83 100644 --- a/packages/client/src/components/MkTutorialDialog.vue +++ b/packages/client/src/components/MkTutorialDialog.vue @@ -57,7 +57,10 @@ {{ i18n.ts._mfm.warn }} --> - + {{ i18n.ts.reduceUiAnimation }} diff --git a/packages/client/src/pages/admin/experiments.vue b/packages/client/src/pages/admin/experiments.vue index 4df1bdd25..7e37c6576 100644 --- a/packages/client/src/pages/admin/experiments.vue +++ b/packages/client/src/pages/admin/experiments.vue @@ -16,9 +16,7 @@