From 748e1788cb3dfccb97306e72dff8fccf45a7ae39 Mon Sep 17 00:00:00 2001 From: Amir Pourmand Date: Sun, 24 Aug 2025 14:52:55 +0330 Subject: [PATCH] Add rtl automatic detection to base.scss --- quartz/styles/base.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 8bd1123ef..c28502fb6 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -645,3 +645,9 @@ iframe.pdf { transition: width 0.2s ease; z-index: 9999; } + +html[lang^="he"] *, +html[lang^="fa"] *, +html[lang^="ar"] * { + direction: rtl; +}