mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
wip
This commit is contained in:
parent
a5bfab4792
commit
c6d4e052fc
@ -82,13 +82,15 @@ export default Vue.extend({
|
||||
},
|
||||
|
||||
mounted() {
|
||||
const main = this.$refs.main as any;
|
||||
main.style.top = '15%';
|
||||
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';
|
||||
Vue.nextTick(() => {
|
||||
const main = this.$refs.main as any;
|
||||
main.style.top = '15%';
|
||||
main.style.left = (window.innerWidth / 2) - (main.offsetWidth / 2) + 'px';
|
||||
|
||||
window.addEventListener('resize', this.onBrowserResize);
|
||||
window.addEventListener('resize', this.onBrowserResize);
|
||||
|
||||
this.open();
|
||||
this.open();
|
||||
});
|
||||
},
|
||||
|
||||
destroyed() {
|
||||
|
Loading…
Reference in New Issue
Block a user