From e258caf89a94e4d9545c0000522c1fb270399358 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 24 Oct 2021 20:16:55 +0900 Subject: [PATCH] :art: --- locales/ja-JP.yml | 2 +- src/client/components/ui/super-menu.vue | 5 +-- src/client/pages/admin/index.vue | 46 ++++++++++++++----------- src/client/pages/settings/index.vue | 46 +++++++++++++++---------- src/client/ui/_common_/sidebar.vue | 2 +- src/client/ui/classic.header.vue | 4 +-- src/client/ui/classic.sidebar.vue | 2 +- 7 files changed, 59 insertions(+), 48 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 2874feea0..dbb0bf166 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -795,7 +795,7 @@ itsOff: "オフになっています" emailRequiredForSignup: "アカウント登録にメールアドレスを必須にする" unread: "未読" filter: "フィルタ" -controllPanel: "コントロールパネル" +controlPanel: "コントロールパネル" manageAccounts: "アカウントを管理" makeReactionsPublic: "リアクション一覧を公開する" makeReactionsPublicDescription: "あなたがしたリアクション一覧を誰でも見れるようにします。" diff --git a/src/client/components/ui/super-menu.vue b/src/client/components/ui/super-menu.vue index 6ab94d744..195cc5732 100644 --- a/src/client/components/ui/super-menu.vue +++ b/src/client/components/ui/super-menu.vue @@ -50,9 +50,6 @@ export default defineComponent({ border-top: solid 0.5px var(--divider); } - margin-left: 16px; - margin-right: 16px; - > .title { font-size: 0.9em; opacity: 0.7; @@ -120,7 +117,7 @@ export default defineComponent({ > .items { display: grid; - grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); + grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); grid-gap: 8px; padding: 0 16px; diff --git a/src/client/pages/admin/index.vue b/src/client/pages/admin/index.vue index 07d407764..cda3ab912 100644 --- a/src/client/pages/admin/index.vue +++ b/src/client/pages/admin/index.vue @@ -3,14 +3,18 @@
@@ -315,7 +319,7 @@ export default defineComponent({ [symbols.PAGE_INFO]: INFO, menuDef, header: { - title: i18n.locale.controllPanel, + title: i18n.locale.controlPanel, }, noMaintainerInformation, noBotProtection, @@ -357,20 +361,22 @@ export default defineComponent({ } > .nav { - > .info { - margin: 16px; + .lxpfedzu { + > .info { + margin: 16px 0; + } + + > .banner { + margin: 16px; + + > .icon { + display: block; + margin: auto; + height: 42px; + border-radius: 8px; + } + } } } } - -.lxpfedzu { - margin: 16px; - - > .icon { - display: block; - margin: auto; - height: 42px; - border-radius: 8px; - } -} diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue index 5a396b6a6..cf053dbe6 100644 --- a/src/client/pages/settings/index.vue +++ b/src/client/pages/settings/index.vue @@ -1,9 +1,13 @@