diff --git a/html/admin.html b/html/admin.html index 46dc1fa..345041b 100644 --- a/html/admin.html +++ b/html/admin.html @@ -601,7 +601,7 @@ {{ .quantityStrings.deleteUser.Singular }} -
+
diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index 1515ff4..38d5935 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -193,8 +193,8 @@ class user implements User { if (!u) { this._notifyDropdown.querySelector(".accounts-area-matrix").classList.add("unfocused"); this._matrix.innerHTML = ` -
- +
+
`; @@ -220,7 +220,7 @@ class user implements User { input.classList.remove("unfocused"); addIcon.classList.add("ri-check-line"); addIcon.classList.remove("ri-link"); - addButton.classList.remove("chip", "w-100") + addButton.classList.remove("chip") const outerClickListener = (event: Event) => { if (!(event.target instanceof HTMLElement && (this._matrix.contains(event.target) || addButton.contains(event.target)))) { document.dispatchEvent(new CustomEvent("accounts-reload")); @@ -264,7 +264,7 @@ class user implements User { this._telegramUsername = u; if (!u) { this._notifyDropdown.querySelector(".accounts-area-telegram").classList.add("unfocused"); - this._telegram.innerHTML = ``; + this._telegram.innerHTML = `
`; (this._telegram.querySelector("span") as HTMLSpanElement).onclick = this._addTelegram; } else { this._notifyDropdown.querySelector(".accounts-area-telegram").classList.remove("unfocused"); @@ -329,7 +329,7 @@ class user implements User { const lastNotifyMethod = this.lastNotifyMethod() == "discord"; this._discordUsername = u; if (!u) { - this._discord.innerHTML = ``; + this._discord.innerHTML = `
`; (this._discord.querySelector("span") as HTMLSpanElement).onclick = () => addDiscord(this.id); this._notifyDropdown.querySelector(".accounts-area-discord").classList.add("unfocused"); } else {