mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
Fix #5338
This commit is contained in:
parent
ff52ea2a7c
commit
72b32df2b7
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user