Add visual cue for uploading files

Unfortunately, since fetch API does not support getting progress while
perfoming uploads, we cannot have a more dynamic cue

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2021-12-26 09:45:53 +05:30
parent cca3a8bec9
commit 3e10267caf
4 changed files with 29 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ form.highlight {
}
textarea {
height: 90%;
height: 100%;
width: 100%;
background: none;
@@ -63,6 +63,21 @@ button[type="submit"] {
cursor: pointer;
}
#upload_card {
display: none;
}
#upload_card.show {
height: 90%;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 40px;
}
*:focus {
outline: none;
}