Remove a few empty spaces and line breaks

Most it is done by my editor automatically.
This commit is contained in:
Tobias 2021-01-17 21:04:37 +01:00
parent 4aebf05918
commit c2ee058682
8 changed files with 19 additions and 24 deletions

View file

@ -12,5 +12,4 @@ export class FixedUiElement extends UIElement {
return this._html; return this._html;
} }
} }

View file

@ -14,7 +14,7 @@ export class SubtleButton extends UIElement{
this.linkTo = linkTo; this.linkTo = linkTo;
this.message = Translations.W(message); this.message = Translations.W(message);
if(this.message !== null){ if(this.message !== null){
this.message.dumbMode = false; this.message.dumbMode = false;
} }
if ((imageUrl ?? "") === "") { if ((imageUrl ?? "") === "") {
this.image = new FixedUiElement(""); this.image = new FixedUiElement("");

View file

@ -57,10 +57,10 @@ export class DropDown<T> extends InputElement<T> {
for (let i = 0; i < this._values.length; i++) { for (let i = 0; i < this._values.length; i++) {
options += "<option value='" + i + "'>" + this._values[i].shown.InnerRender() + "</option>" options += "<option value='" + i + "'>" + this._values[i].shown.InnerRender() + "</option>"
} }
return "<form>" + return "<form>" +
"<label for='dropdown-" + this.id + "'>" + this._label.Render() + " </label>" + "<label for='dropdown-" + this.id + "'>" + this._label.Render() + " </label>" +
"<select name='dropdown-" + this.id + "' id='dropdown-" + this.id + "'>" + "<select name='dropdown-" + this.id + "' id='dropdown-" + this.id + "'>" +
options + options +
"</select>" + "</select>" +
"</form>"; "</form>";

View file

@ -387,10 +387,8 @@ a {
background-color: var(--background-color); background-color: var(--background-color);
color: var(--foreground-color); color: var(--foreground-color);
transition: opacity 500ms linear; transition: opacity 500ms linear;
text-align: center; text-align: center;
horiz-align: center; horiz-align: center;
font-weight: bold; font-weight: bold;

View file

@ -158,8 +158,6 @@ function createManifest(layout: LayoutConfig, relativePath: string) {
writeFileSync(path, layout.icon) writeFileSync(path, layout.icon)
} }
const sizes = [72, 96, 120, 128, 144, 152, 180, 192, 384, 512]; const sizes = [72, 96, 120, 128, 144, 152, 180, 192, 384, 512];
for (const size of sizes) { for (const size of sizes) {
const name = createIcon(path, size, layout); const name = createIcon(path, size, layout);