From b10d1e06531aa9fae620b7e9639c38c29ffb3016 Mon Sep 17 00:00:00 2001 From: Juraj Lorinc Date: Wed, 26 Apr 2023 21:08:07 +0200 Subject: [PATCH] Update FileUpload.vue The element has a non zero size (1px X 1px) which might (and in some case actually do) cause an issue because the element actually takes some space. For example when it is placed between 2 elements with `width: 50%` the 1px will break the layout. --- src/FileUpload.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/FileUpload.vue b/src/FileUpload.vue index 595af39..1c0efff 100644 --- a/src/FileUpload.vue +++ b/src/FileUpload.vue @@ -34,6 +34,7 @@ .file-uploads.file-uploads-html5 input, .file-uploads.file-uploads-html4 label { /* background fix ie click */ + position: absolute; background: rgba(255, 255, 255, 0); overflow: hidden; position: fixed;