1
0
forked from mirror/misskey
This commit is contained in:
syuilo 2018-02-14 19:33:39 +09:00
parent 205e728025
commit 00aaf300c4

View File

@ -82,6 +82,7 @@ export default Vue.extend({
},
mounted() {
Vue.nextTick(() => {
const main = this.$refs.main as any;
main.style.top = '15%';
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';
@ -89,6 +90,7 @@ export default Vue.extend({
window.addEventListener('resize', this.onBrowserResize);
this.open();
});
},
destroyed() {