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: [PATCH] =?UTF-8?q?CW=E3=81=AE=E4=B8=AD=E3=81=AE=E3=82=B5=E3=83=A0?= =?UTF-8?q?=E3=83=8D=E3=82=A4=E3=83=AB=E3=81=AE=E3=82=B5=E3=82=A4=E3=82=BA?= =?UTF-8?q?=E3=81=8C=E5=A4=89=E3=81=AA=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20(#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(-) 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 },