From 58ae2ccbfa71f2ff6d6cb6101a92c0288d5836fd Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 5 Jan 2023 19:50:52 +0900 Subject: [PATCH] :art: --- .../frontend/src/components/MkSuperMenu.vue | 4 +-- .../src/components/MkTokenGenerateWindow.vue | 34 +++++++++++-------- packages/frontend/src/pages/settings/apps.vue | 28 ++++++++------- 3 files changed, 37 insertions(+), 29 deletions(-) diff --git a/packages/frontend/src/components/MkSuperMenu.vue b/packages/frontend/src/components/MkSuperMenu.vue index 36960bfc31..bb2a789b3f 100644 --- a/packages/frontend/src/components/MkSuperMenu.vue +++ b/packages/frontend/src/components/MkSuperMenu.vue @@ -141,8 +141,8 @@ export default defineComponent({ margin-right: 0; margin-bottom: 6px; font-size: 1.5em; - width: 54px; - height: 54px; + width: 60px; + height: 60px; aspect-ratio: 1; background: var(--panel); border-radius: 100%; diff --git a/packages/frontend/src/components/MkTokenGenerateWindow.vue b/packages/frontend/src/components/MkTokenGenerateWindow.vue index 8d5b6f8635..894336136c 100644 --- a/packages/frontend/src/components/MkTokenGenerateWindow.vue +++ b/packages/frontend/src/components/MkTokenGenerateWindow.vue @@ -11,20 +11,25 @@ @ok="ok()" > -
- {{ information }} -
-
- - - -
-
-
{{ $ts.permission }}
- {{ $ts.disableAll }} - {{ $ts.enableAll }} - {{ $t(`_permissions.${kind}`) }} -
+ + +
+
+ {{ information }} +
+
+ + + +
+
{{ $ts.permission }}
+
+ {{ i18n.ts.disableAll }} + {{ i18n.ts.enableAll }} +
+ {{ $t(`_permissions.${kind}`) }} +
+
@@ -36,6 +41,7 @@ import MkSwitch from './form/switch.vue'; import MkButton from './MkButton.vue'; import MkInfo from './MkInfo.vue'; import XModalWindow from '@/components/MkModalWindow.vue'; +import { i18n } from '@/i18n'; const props = withDefaults(defineProps<{ title?: string | null; diff --git a/packages/frontend/src/pages/settings/apps.vue b/packages/frontend/src/pages/settings/apps.vue index 0154c0c951..fe237de906 100644 --- a/packages/frontend/src/pages/settings/apps.vue +++ b/packages/frontend/src/pages/settings/apps.vue @@ -8,28 +8,28 @@ @@ -43,6 +43,8 @@ import FormPagination from '@/components/MkPagination.vue'; import * as os from '@/os'; import { i18n } from '@/i18n'; import { definePageMetadata } from '@/scripts/page-metadata'; +import MkKeyValue from '@/components/MkKeyValue.vue'; +import MkButton from '@/components/MkButton.vue'; const list = ref(null);