mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Fix upload button glitch
This commit is contained in:
parent
9b2f9911f2
commit
d133494e9d
@ -176,7 +176,7 @@ input.hide-upload {
|
|||||||
filter: alpha(opacity=0);
|
filter: alpha(opacity=0);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
width: 80px;
|
width: 0;
|
||||||
margin-top: -20px;
|
margin-top: -20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
cursor: hand;
|
cursor: hand;
|
||||||
|
@ -3,9 +3,10 @@
|
|||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="file-upload" v-if="support.fileUpload">
|
<div class="file-upload" v-if="support.fileUpload">
|
||||||
<input type="button" class="btn btn-primary" :value="isUploading ? 'Uploading...': 'Upload file'"
|
<label type="button" class="btn btn-primary"
|
||||||
:disabled="isUploading">
|
:disabled="isUploading">{% isUploading ? 'Uploading...': 'Upload file' %}
|
||||||
<input type="file" class="hide-upload" id="file-upload" @change="handleUpload($event.target.files)">
|
<input type="file" class="hide-upload" id="file-upload" @change="handleUpload($event.target.files)">
|
||||||
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user