summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2019-08-24 19:20:53 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-08-24 19:20:53 +0900
commit9d6c8806af2612899f3ea1aa93ae148515eebc11 (patch)
tree3b72a26611806d5fffce75047bd7c419e5252ccb /src/client/app/common/views/components
parent11.30.0 (diff)
downloadsharkey-9d6c8806af2612899f3ea1aa93ae148515eebc11.tar.gz
sharkey-9d6c8806af2612899f3ea1aa93ae148515eebc11.tar.bz2
sharkey-9d6c8806af2612899f3ea1aa93ae148515eebc11.zip
CWの中のサムネイルのサイズが変なのを修正 (#5339)
* Fix #5338 * Revert "Fix #5338" This reverts commit 72b32df2b74743bede6fff0dbc37fec352cff51f. * Fix media-list height * fix
Diffstat (limited to 'src/client/app/common/views/components')
-rw-r--r--src/client/app/common/views/components/media-list.vue3
1 files changed, 2 insertions, 1 deletions
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
},