Skip to content

Commit

Permalink
fix(upload): Fixing invisible margin display on hidden button
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <[email protected]>
  • Loading branch information
ViBiOh committed May 29, 2022
1 parent c52a55c commit edc3d9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmd/fibr/templates/upload-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@

#upload-list {
margin: 1rem auto;
overflow-y: auto;
}

#upload-duration {
Expand All @@ -478,6 +479,7 @@
}

.opacity {
flex: 0 0;
opacity: 0;
}

Expand Down Expand Up @@ -514,9 +516,9 @@ <h2 class="flex flex-center header no-margin">
</p>
{{ end }}

<p class="padding no-margin center upload-width">
<p class="padding no-margin center upload-width flex flex-center">
<input id="file" class="full" type="file" name="file" />
<label id="file-label" for="file" class="hidden button bg-success">Choose file...</label>
<label id="file-label" for="file" tabindex="0" class="hidden button bg-success">Choose file...</label>
</p>

<div id="upload-list" class="hidden upload-width full"></div>
Expand Down

0 comments on commit edc3d9c

Please sign in to comment.