From e62d7bc1ba6dfaef42e8eb65ba2106b9216fac74 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 16 Apr 2021 23:26:01 +0900 Subject: [PATCH] Tweak UI --- src/client/components/form/base.vue | 3 +++ src/client/pages/user/index.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/src/client/components/form/base.vue b/src/client/components/form/base.vue index de46d1bd1..34deb3946 100644 --- a/src/client/components/form/base.vue +++ b/src/client/components/form/base.vue @@ -24,9 +24,12 @@ export default defineComponent({ --formXPadding: 32px; --formYPadding: 32px; + font-size: 95%; line-height: 1.3em; background: var(--bg); padding: var(--formYPadding) var(--formXPadding); + max-width: 750px; + margin: 0 auto; &:not(.wide).max-width_400px { --formXPadding: 0px; diff --git a/src/client/pages/user/index.vue b/src/client/pages/user/index.vue index e8d54402e..2322b09ea 100644 --- a/src/client/pages/user/index.vue +++ b/src/client/pages/user/index.vue @@ -279,6 +279,7 @@ export default defineComponent({ share: { title: this.user.name, }, + menu: () => getUserMenu(this.user), } : null), user: null, error: null,