Skip to content

Commit

Permalink
Update FileUpload.vue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
LorincJuraj authored Apr 26, 2023
1 parent ef6d252 commit b10d1e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FileUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b10d1e0

Please sign in to comment.