diff --git a/package.json b/package.json
index 44b5479632..6a3c70adb5 100644
--- a/package.json
+++ b/package.json
@@ -247,9 +247,10 @@
"vue-color": "2.7.1",
"vue-content-loading": "1.6.0",
"vue-cropperjs": "4.1.0",
- "vue-i18n": "9.0.0-alpha.13",
+ "vue-draggable-next": "1.0.5",
+ "vue-i18n": "9.0.0-alpha.17",
"vue-json-pretty": "1.6.7",
- "vue-loader": "16.0.0-beta.5",
+ "vue-loader": "16.0.0-beta.7",
"vue-marquee-text-component": "1.1.1",
"vue-meta": "2.4.0",
"vue-prism-component": "1.2.0",
@@ -258,7 +259,6 @@
"vue-style-loader": "4.1.2",
"vue-svg-inline-loader-corejs3": "1.5.0",
"vue-template-compiler": "2.6.12",
- "vuedraggable": "2.24.1",
"vuex": "4.0.0-beta.4",
"vuex-persistedstate": "3.1.0",
"web-push": "3.4.4",
diff --git a/src/client/components/deck/widgets-column.vue b/src/client/components/deck/widgets-column.vue
index 2d47edc916..4d0d3bc2b1 100644
--- a/src/client/components/deck/widgets-column.vue
+++ b/src/client/components/deck/widgets-column.vue
@@ -29,8 +29,7 @@
diff --git a/src/client/components/media-image.vue b/src/client/components/media-image.vue
index 25469fb831..e8cbd51e78 100644
--- a/src/client/components/media-image.vue
+++ b/src/client/components/media-image.vue
@@ -72,12 +72,9 @@ export default defineComponent({
if (this.$store.state.device.imageNewTab) {
window.open(this.image.url, '_blank');
} else {
- const viewer = os.modal(ImageViewer, {
+ os.modal(ImageViewer, {
image: this.image
});
- this.$once('hook:beforeDestroy', () => {
- viewer.close();
- });
}
}
}
diff --git a/src/client/components/modal.vue b/src/client/components/modal.vue
index 7c016edc9e..ad7567cdde 100644
--- a/src/client/components/modal.vue
+++ b/src/client/components/modal.vue
@@ -166,8 +166,10 @@ export default defineComponent({
max-height: calc(100% - 16px);
overflow: auto;
display: flex;
- justify-content: center;
- align-items: center;
+
+ > * {
+ margin: auto;
+ }
}
> .content.popup {
diff --git a/src/client/components/post-form-attaches.vue b/src/client/components/post-form-attaches.vue
index 16e29dfe9b..c57714545f 100644
--- a/src/client/components/post-form-attaches.vue
+++ b/src/client/components/post-form-attaches.vue
@@ -13,8 +13,7 @@