diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue index b0a14be0d4..c3eec59c79 100644 --- a/src/client/app/common/views/components/media-list.vue +++ b/src/client/app/common/views/components/media-list.vue @@ -35,7 +35,9 @@ 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'; + if (this.$refs.grid.clientHeight) { + this.$refs.grid.style.height = this.$refs.grid.clientHeight; + } } //#endregion },