From 9aa24c05528d73a2e817655e52024f54f8a59f54 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 20 Feb 2019 07:08:54 +0900 Subject: [PATCH] :art: --- CHANGELOG.md | 1 + src/client/app/common/views/pages/explore.vue | 8 +++++++- src/client/app/desktop/views/components/ui-container.vue | 5 +++++ src/client/app/mobile/views/components/ui-container.vue | 5 +++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae22e5c2e3..f4a44cc15b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ChangeLog 10.87.4 ---------- * フォローリクエストを許可するときにエラーになる問題を修正 +* デザインの調整 10.87.3 ---------- diff --git a/src/client/app/common/views/pages/explore.vue b/src/client/app/common/views/pages/explore.vue index cfa261188d..264e3d775c 100644 --- a/src/client/app/common/views/pages/explore.vue +++ b/src/client/app/common/views/pages/explore.vue @@ -9,7 +9,7 @@ - +
@@ -114,6 +114,12 @@ export default Vue.extend({ }, }, + watch: { + tag() { + if (this.$refs.tags) this.$refs.tags.toggleContent(this.tag == null); + } + }, + created() { this.$root.api('hashtags/list', { sort: '+attachedLocalUsers', diff --git a/src/client/app/desktop/views/components/ui-container.vue b/src/client/app/desktop/views/components/ui-container.vue index 04351b29cf..b75690f50c 100644 --- a/src/client/app/desktop/views/components/ui-container.vue +++ b/src/client/app/desktop/views/components/ui-container.vue @@ -40,6 +40,11 @@ export default Vue.extend({ return { showBody: true }; + }, + methods: { + toggleContent(show: boolean) { + this.showBody = show; + } } }); diff --git a/src/client/app/mobile/views/components/ui-container.vue b/src/client/app/mobile/views/components/ui-container.vue index 2f677fa8f4..3e3633cefe 100644 --- a/src/client/app/mobile/views/components/ui-container.vue +++ b/src/client/app/mobile/views/components/ui-container.vue @@ -35,6 +35,11 @@ export default Vue.extend({ return { showBody: true }; + }, + methods: { + toggleContent(show: boolean) { + this.showBody = show; + } } });