improve tab appearance

This commit is contained in:
Harvey Tindall
2020-09-18 21:57:36 +01:00
parent d4b94bc9d9
commit 6b81358cd2
11 changed files with 49 additions and 38 deletions
+6 -6
View File
@@ -8,10 +8,10 @@ const tabs = {
tabs.accountsEl.classList.add('unfocused');
tabs.invitesEl.classList.remove('unfocused');
}
if (tabs.invitesTabButton.classList.contains("text-muted")) {
tabs.invitesTabButton.classList.remove("text-muted");
tabs.accountsTabButton.classList.add("text-muted");
if (tabs.accountsTabButton.classList.contains("active")) {
tabs.accountsTabButton.classList.remove("active");
}
tabs.invitesTabButton.classList.add("active");
},
accounts: function() {
populateUsers();
@@ -19,9 +19,9 @@ const tabs = {
tabs.invitesEl.classList.add('unfocused');
tabs.accountsEl.classList.remove('unfocused');
}
if (tabs.accountsTabButton.classList.contains("text-muted")) {
tabs.accountsTabButton.classList.remove("text-muted");
tabs.invitesTabButton.classList.add("text-muted");
if (tabs.invitesTabButton.classList.contains("active")) {
tabs.invitesTabButton.classList.remove("active");
tabs.accountsTabButton.classList.add("active");
}
}
};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long