From 08c861707b3a473bab663f4bf63f80753ceb8f8e Mon Sep 17 00:00:00 2001
From: Jairus Joer <hello@jairusjoer.com>
Date: Tue, 28 Oct 2025 16:37:32 +0000
Subject: [PATCH] fix(explorer): Disable keyboard navigation on collapsed folders (#2169)

---
 quartz/components/renderPage.tsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/quartz/components/renderPage.tsx b/quartz/components/renderPage.tsx
index e43189d..3ebfe48 100644
--- a/quartz/components/renderPage.tsx
+++ b/quartz/components/renderPage.tsx
@@ -231,8 +231,9 @@
   )
 
   const lang = componentData.fileData.frontmatter?.lang ?? cfg.locale?.split("-")[0] ?? "en"
+  const direction = i18n(cfg.locale).direction ?? "ltr"
   const doc = (
-    <html lang={lang}>
+    <html lang={lang} dir={direction}>
       <Head {...componentData} />
       <body data-slug={slug}>
         <div id="quartz-root" class="page">

--
Gitblit v1.10.0