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:
parent
cca3a8bec9
commit
3e10267caf
4 changed files with 29 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue