minor mobile ui improvements

This commit is contained in:
blek 2023-09-30 02:02:20 +10:00
parent 49983c5b35
commit 1b763473d5
Signed by: blek
GPG Key ID: 14546221E3595D0C
2 changed files with 4 additions and 2 deletions

View File

@ -157,6 +157,7 @@ p {
line-height: 32px;
}
.mobile-file-upload-btn {
display: block;
opacity: 0;
height: 0;
width: 0;
@ -175,7 +176,8 @@ p {
padding: 0;
}
.mobile-file-upload-btn {
width: fit-content;
width: calc(100% - 24px);
cursor: pointer;
height: fit-content;
opacity: 1;
font-size: initial;

View File

@ -31,7 +31,7 @@
<input type="file" name="file" id="bfile-formupload-file" style="display: none" />
<label for="bfile-formupload-file">
<span class='btn mobile-file-upload-btn'>
Upload file
Select a file
</span>
<span class="file-drag-n-drop">
<span class="file-drag-n-drop-inside">