Small tweaks to translation label

This commit is contained in:
Pieter Vander Vennet 2021-02-20 03:29:55 +01:00
parent e2d5cefda3
commit dcdb5b9a22
12 changed files with 56 additions and 33 deletions

View file

@ -62,7 +62,7 @@ export class DropDown<T> extends InputElement<T> {
options += "<option value='" + i + "'>" + this._values[i].shown.InnerRender() + "</option>"
}
return `<form>` +
return `<form class="flex">` +
`<label class='${this._label_class}' for='dropdown-${this.id}'>${this._label.Render()}</label>` +
`<select class='${this._select_class}' name='dropdown-${this.id}' id='dropdown-${this.id}'>` +
options +