From 29456126f39c3e75aa02391e593be7cff0ff7f2f Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Mon, 29 Apr 2024 17:24:38 +0200 Subject: [PATCH] Add documentation --- .../components/content-forms/DocumentForm.vue | 56 ------------------- .../content-forms/DocumentInput.vue | 2 + 2 files changed, 2 insertions(+), 56 deletions(-) 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;