From 9d6c8806af2612899f3ea1aa93ae148515eebc11 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sat, 24 Aug 2019 19:20:53 +0900 Subject: CWの中のサムネイルのサイズが変なのを修正 (#5339) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix #5338 * Revert "Fix #5338" This reverts commit 72b32df2b74743bede6fff0dbc37fec352cff51f. * Fix media-list height * fix --- src/client/app/common/views/components/media-list.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/app') diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue index b0a14be0d4..6c54967eb7 100644 --- a/src/client/app/common/views/components/media-list.vue +++ b/src/client/app/common/views/components/media-list.vue @@ -35,7 +35,8 @@ export default Vue.extend({ mounted() { //#region for Safari bug if (this.$refs.grid) { - this.$refs.grid.style.height = this.$refs.grid.clientHeight ? `${this.$refs.grid.clientHeight}px` : '128px'; + this.$refs.grid.style.height = this.$refs.grid.clientHeight ? `${this.$refs.grid.clientHeight}px` + : this.$store.state.device.inDeckMode ? '128px' : this.$root.isMobile ? '173px' : '287px'; } //#endregion }, -- cgit v1.2.3-freya