From 503f23ad3b359fa2330e7554c4c98be88b1e2ccb Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 16 Apr 2021 12:17:22 +0900 Subject: [PATCH] Tweak UI --- src/client/components/ui/container.vue | 6 +++--- src/client/pages/explore.vue | 2 +- src/client/pages/instance/index.metrics.vue | 8 ++++---- src/client/pages/instance/index.vue | 4 ++-- src/client/pages/page-editor/page-editor.vue | 8 ++++---- src/client/pages/scratchpad.vue | 2 +- src/client/pages/user/index.photos.vue | 2 +- src/client/widgets/federation.vue | 4 ++-- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/client/components/ui/container.vue b/src/client/components/ui/container.vue index ef90a348b4..ecd48876e8 100644 --- a/src/client/components/ui/container.vue +++ b/src/client/components/ui/container.vue @@ -4,7 +4,7 @@
- @@ -42,7 +42,7 @@ export default defineComponent({ required: false, default: false }, - bodyTogglable: { + foldable: { type: Boolean, required: false, default: false @@ -99,7 +99,7 @@ export default defineComponent({ }, methods: { toggleContent(show: boolean) { - if (!this.bodyTogglable) return; + if (!this.foldable) return; this.showBody = show; }, diff --git a/src/client/pages/explore.vue b/src/client/pages/explore.vue index 7e0acaddf7..dc0803237b 100644 --- a/src/client/pages/explore.vue +++ b/src/client/pages/explore.vue @@ -36,7 +36,7 @@
{{ $ts.exploreFediverse }}
- +
diff --git a/src/client/pages/instance/index.metrics.vue b/src/client/pages/instance/index.metrics.vue index 48844e0681..17ebf5d0d6 100644 --- a/src/client/pages/instance/index.metrics.vue +++ b/src/client/pages/instance/index.metrics.vue @@ -4,7 +4,7 @@
- +