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
+1 -1
View File
@@ -549,7 +549,7 @@ export class settingsList {
this._sections[name] = section;
this._panel.appendChild(this._sections[name].asElement());
const button = document.createElement("span") as HTMLSpanElement;
button.classList.add("button", "~neutral", "@low", "settings-section-button", "mb-2");
button.classList.add("button", "~neutral", "@low", "settings-section-button", "justify-between", "mb-2");
button.textContent = s.meta.name;
if (subButton) { button.appendChild(subButton); }
button.onclick = () => { this._showPanel(name); };