From 9f3045a23439592021258d1c8460da37a2d42f0c Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 4 Jan 2022 15:36:14 +0900 Subject: [PATCH] tweak ui --- packages/client/src/components/chart.vue | 8 +- .../client/src/components/form/section.vue | 7 +- .../client/src/components/form/switch.vue | 2 +- .../client/src/components/global/spacer.vue | 2 +- .../client/src/components/instance-stats.vue | 15 +- packages/client/src/components/key-value.vue | 27 +- packages/client/src/pages/about.vue | 3 +- packages/client/src/pages/admin/instance.vue | 291 ------------------ packages/client/src/pages/admin/metrics.vue | 1 - packages/client/src/pages/admin/overview.vue | 7 +- packages/client/src/pages/instance-info.vue | 230 +++++++------- packages/client/src/pages/user-ap-info.vue | 124 -------- packages/client/src/pages/user-info.vue | 137 +++++---- packages/client/src/router.ts | 1 - 14 files changed, 231 insertions(+), 624 deletions(-) delete mode 100644 packages/client/src/pages/admin/instance.vue delete mode 100644 packages/client/src/pages/user-ap-info.vue diff --git a/packages/client/src/components/chart.vue b/packages/client/src/components/chart.vue index c4d0eb85d..1959271f5 100644 --- a/packages/client/src/components/chart.vue +++ b/packages/client/src/components/chart.vue @@ -170,10 +170,10 @@ export default defineComponent({ aspectRatio: props.aspectRatio || 2.5, layout: { padding: { - left: 16, - right: 16, - top: 16, - bottom: 8, + left: 0, + right: 0, + top: 0, + bottom: 0, }, }, scales: { diff --git a/packages/client/src/components/form/section.vue b/packages/client/src/components/form/section.vue index ab9fbe5fc..c6e34ef1c 100644 --- a/packages/client/src/components/form/section.vue +++ b/packages/client/src/components/form/section.vue @@ -1,5 +1,5 @@