mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 23:50:38 +01:00
CWの中のサムネイルのサイズが変なのを修正 (#5339)
* Fix #5338
* Revert "Fix #5338"
This reverts commit 72b32df2b7
.
* Fix media-list height
* fix
This commit is contained in:
parent
ff52ea2a7c
commit
9d6c8806af
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue