Update app.vue

This commit is contained in:
syuilo 2020-02-12 00:31:48 +09:00
parent 10a7369fec
commit 2068407be0

View File

@ -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);