Styling tweaks
This commit is contained in:
parent
bce8ae3e34
commit
9c6811b06e
5 changed files with 12 additions and 9 deletions
|
@ -138,16 +138,16 @@ export class ImageUploadFlow extends Toggle {
|
|||
if (l == 0) {
|
||||
return undefined
|
||||
}
|
||||
return t.uploadFailed.Clone().SetClass("alert");
|
||||
return new Loading(t.uploadFailed).SetClass("alert");
|
||||
})),
|
||||
new VariableUiElement(uploadedCount.map(l => {
|
||||
if (l == 0) {
|
||||
return undefined;
|
||||
}
|
||||
if (l == 1) {
|
||||
return t.uploadDone.Clone().SetClass("thanks");
|
||||
return t.uploadDone.Clone().SetClass("thanks block");
|
||||
}
|
||||
return t.uploadMultipleDone.Subs({count: l}).SetClass("thanks")
|
||||
return t.uploadMultipleDone.Subs({count: l}).SetClass("thanks block")
|
||||
})),
|
||||
|
||||
fileSelector,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue