mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
Update app.vue
This commit is contained in:
parent
382832001e
commit
e70ebd7793
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ export default Vue.extend({
|
|||
const lastChild = this.$refs.widgets.children[this.$refs.widgets.children.length - 1];
|
||||
if (lastChild == null) return;
|
||||
|
||||
const width = lastChild.offsetLeft + 300;
|
||||
const width = lastChild.offsetLeft + 300 + 16;
|
||||
this.$refs.widgets.style.width = width + 'px';
|
||||
};
|
||||
setInterval(adjustWidgetsWidth, 1000);
|
||||
|
|
Loading…
Reference in a new issue