diff --git a/website/index.html b/website/index.html index b8b9bdeda..23329a692 100644 --- a/website/index.html +++ b/website/index.html @@ -74,6 +74,11 @@ }); }); } + + let storedLayout; + try { storedLayout = localStorage.getItem("split-view"); } catch (_) {} + const isSplit = storedLayout !== "false" && window.matchMedia("(min-width: 768px)").matches; + document.documentElement.dataset.layout = isSplit ? "split" : "full"; @@ -88,8 +93,6 @@
-
- -
+
+