fix button layout on accounts tab

This commit is contained in:
Harvey Tindall
2021-12-31 02:03:29 +00:00
parent 508168b49e
commit 3dbb993d35
3 changed files with 8 additions and 6 deletions
+4 -2
View File
@@ -193,8 +193,10 @@ class user implements User {
if (!u) {
this._notifyDropdown.querySelector(".accounts-area-matrix").classList.add("unfocused");
this._matrix.innerHTML = `
<span class="chip btn @high">${window.lang.strings("add")}</span>
<input type="text" class="input ~neutral @low stealth-input unfocused" placeholder="@user:riot.im">
<div class="table-inline">
<span class="chip btn @high">${window.lang.strings("add")}</span>
<input type="text" class="input ~neutral @low stealth-input unfocused" placeholder="@user:riot.im">
</div>
`;
(this._matrix.querySelector("span") as HTMLSpanElement).onclick = this._addMatrix;
} else {