Various small fixes
This commit is contained in:
parent
1ea285d303
commit
2dd428497e
45 changed files with 776 additions and 587 deletions
|
@ -19,7 +19,7 @@ export class SubtleButton extends UIElement{
|
|||
if ((imageUrl ?? "") === "") {
|
||||
this.image = new FixedUiElement("");
|
||||
} else if (typeof (imageUrl) === "string") {
|
||||
this.image = new FixedUiElement(`<img src="${imageUrl}">`);
|
||||
this.image = new FixedUiElement(`<img style="height:3em" src="${imageUrl}">`);
|
||||
} else {
|
||||
this.image = imageUrl;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue