fix m-half in ts

This commit is contained in:
Harvey Tindall
2021-12-31 00:26:11 +00:00
parent e73ecb7a52
commit 0e1cbd7e7b
6 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -23,10 +23,10 @@ class profile implements Profile {
get admin(): boolean { return this._adminChip.classList.contains("chip"); }
set admin(state: boolean) {
if (state) {
this._adminChip.classList.add("chip", "~info", "ml-half");
this._adminChip.classList.add("chip", "~info", "ml-2");
this._adminChip.textContent = "Admin";
} else {
this._adminChip.classList.remove("chip", "~info", "ml-half");
this._adminChip.classList.remove("chip", "~info", "ml-2");
this._adminChip.textContent = "";
}
}