Merge branch 'develop' of https://github.com/syuilo/misskey into develop

This commit is contained in:
syuilo
2020-02-07 19:15:12 +09:00
2 changed files with 3 additions and 1 deletions

View File

@ -248,6 +248,8 @@ export default Vue.extend({
// https://stackoverflow.com/questions/33891709/when-flexbox-items-wrap-in-column-mode-container-does-not-grow-its-width
if (this.enableWidgets) {
setInterval(() => {
if (!this.$refs.widgetsEditButton) return;
const width = this.$refs.widgetsEditButton.offsetLeft + 300;
this.$refs.widgets.style.width = width + 'px';
}, 1000);