diff --git a/formwidgets/responsiveimage/assets/css/main.css b/formwidgets/responsiveimage/assets/css/main.css index 9737200..9493fe0 100644 --- a/formwidgets/responsiveimage/assets/css/main.css +++ b/formwidgets/responsiveimage/assets/css/main.css @@ -160,6 +160,11 @@ .vue-dropzone { display: none; } + .upload-wrapper { + display: grid; + grid-template-columns: 1fr 1fr; + grid-gap: 1.5rem; + } .preview-container { display: grid; grid-gap: 0.5rem; diff --git a/formwidgets/responsiveimage/assets/src/App.vue b/formwidgets/responsiveimage/assets/src/App.vue index 7e656fe..c239c80 100644 --- a/formwidgets/responsiveimage/assets/src/App.vue +++ b/formwidgets/responsiveimage/assets/src/App.vue @@ -5,9 +5,14 @@ > - - - +
+ + + + + + +
@@ -119,6 +124,9 @@ export default { this.$refs.dropzone.removeFile(file); this.addVisible = true; }); + }, + openDatabase() { + }, onSend(file, xhr, formData) { formData.append('extraData', JSON.stringify({