fix: auto apply icon only sidebar on load

This commit is contained in:
SethBurkart123
2026-03-18 09:16:35 +11:00
parent aae9aa6073
commit 2a147c1d3a
3 changed files with 10 additions and 2 deletions
@@ -39,6 +39,7 @@ export class StorageChangeHandler {
}
private handleIconOnlySidebarChange(newValue: boolean | undefined) {
if (!document.body) return;
if (newValue) {
document.body.classList.add("icon-only-sidebar");
} else {