Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(setup): apply mobile class
Elian Doran8c3cbf34a8be
diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsxindex 62c34908c9..8e01e7dc20 100644--- a/apps/client/src/setup.tsx+++ b/apps/client/src/setup.tsx@@ -24,7 +24,7 @@ async function main() {const bodyWrapper = document.createElement("div");bodyWrapper.classList.add("setup-outer-wrapper");- document.body.classList.add("setup");+ document.body.classList.add("setup", window.glob.device || "desktop");if (isElectron()) {document.body.classList.add("electron", `platform-${window.process.platform}`, "background-effects");}