CWの中のサムネイルのサイズが変なのを修正 (#5339)

* Fix #5338

* Revert "Fix #5338"

This reverts commit 72b32df2b74743bede6fff0dbc37fec352cff51f.

* Fix media-list height

* fix
This commit is contained in:
MeiMei 2019-08-24 19:20:53 +09:00 committed by syuilo
parent 0db17da75f
commit 3303782100

View File

@ -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
},