diff --git a/client/src/components/content-forms/DocumentForm.vue b/client/src/components/content-forms/DocumentForm.vue index b4048309..be771851 100644 --- a/client/src/components/content-forms/DocumentForm.vue +++ b/client/src/components/content-forms/DocumentForm.vue @@ -24,59 +24,3 @@ const updateUrl = (url: string) => { emit('change-url', url, props.index); }; - - diff --git a/client/src/components/content-forms/DocumentInput.vue b/client/src/components/content-forms/DocumentInput.vue index cb687919..733ca561 100644 --- a/client/src/components/content-forms/DocumentInput.vue +++ b/client/src/components/content-forms/DocumentInput.vue @@ -115,6 +115,8 @@ onMounted(() => { } &__file-input { + /* this element should not be visible for the user, but the width can't be 0, otherwise it does not exist in the +* DOM. With this hack, the element still works */ width: 0.1px; height: 0.1px; overflow: hidden;