From 7ec06707485ec47615b1b7189f2cde542b83ead1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 11 Apr 2021 23:49:13 +0900 Subject: [PATCH] Tweak UI --- src/client/components/modal-page-window.vue | 4 ++-- src/client/pages/settings/index.vue | 8 ++++++-- src/client/style.scss | 1 - src/client/ui/default.vue | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/client/components/modal-page-window.vue b/src/client/components/modal-page-window.vue index 6079c08f0..24511215d 100644 --- a/src/client/components/modal-page-window.vue +++ b/src/client/components/modal-page-window.vue @@ -69,8 +69,8 @@ export default defineComponent({ data() { return { - width: 850, - height: 650, + width: 860, + height: 660, pageInfo: null, path: this.initialPath, component: this.initialComponent, diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue index 5a21cf2ff..eb7469c86 100644 --- a/src/client/pages/settings/index.vue +++ b/src/client/pages/settings/index.vue @@ -73,10 +73,11 @@ export default defineComponent({ }, setup(props, context) { - const INFO = ref({ + const indexInfo = { title: i18n.locale.settings, icon: faCog - }); + }; + const INFO = ref(indexInfo); const page = ref(props.initialPage); const narrow = ref(false); const view = ref(null); @@ -152,6 +153,9 @@ export default defineComponent({ page.value = 'profile'; } else { page.value = props.initialPage; + if (props.initialPage == null) { + INFO.value = indexInfo; + } } }); diff --git a/src/client/style.scss b/src/client/style.scss index 62e3e3c93..6768e2166 100644 --- a/src/client/style.scss +++ b/src/client/style.scss @@ -241,7 +241,6 @@ hr { border-radius: var(--radius); //border: var(--panelBorder); box-shadow: var(--panelShadow); - overflow: hidden; overflow: clip; } diff --git a/src/client/ui/default.vue b/src/client/ui/default.vue index 78f754184..1e5b52de8 100644 --- a/src/client/ui/default.vue +++ b/src/client/ui/default.vue @@ -230,6 +230,7 @@ export default defineComponent({ > .main { margin: 0; + padding-bottom: 92px; border: none; width: 100%; border-radius: 0;