Skip to content

Commit

Permalink
Fix: CWの中のサムネイルのサイズが変 (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Aug 23, 2019
1 parent 833bea5 commit ac54563
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client/app/common/views/components/media-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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
},
Expand Down

0 comments on commit ac54563

Please sign in to comment.