Styling tweaks, better metadata handling at data upload

This commit is contained in:
Pieter Vander Vennet 2021-06-19 18:28:30 +02:00
parent 87bf376b2e
commit bf7e6376c0
5 changed files with 108 additions and 85 deletions

View file

@ -25,7 +25,7 @@ export class SubtleButton extends UIElement {
if ((imageUrl ?? "") === "") {
img = undefined;
} else if (typeof (imageUrl) === "string") {
img = new Img(imageUrl).SetClass("w-full")
img = new Img(imageUrl)
} else {
img = imageUrl;
}