Amir Pourmand
2025-09-17 7a77f54e50146b05bea62934f417016bbd81b794
refs
author Amir Pourmand <pourmand1376@gmail.com>
Wednesday, September 17, 2025 23:04 +0000
committer GitHub <noreply@github.com>
Wednesday, September 17, 2025 23:04 +0000
commit7a77f54e50146b05bea62934f417016bbd81b794
tree 3b89a0a7526aee53b6fd9cc548bda3c7b06f755a tree | zip | gz
parent 03ccac2872822442b4e11457e1c3452167a3f639 view | diff
fix(i18n): Add RTL Detection based on Config Set Language (#2100)

* Add rtl automatic detection to base.scss

* Implement RTL support for Arabic and Persian locales and update HTML direction attribute in renderPage component

* Update HTML direction attribute in renderPage component to prioritize frontmatter dir value

* Refactor renderPage component to simplify HTML direction attribute assignment by removing frontmatter dir fallback
4 files modified
6 ■■■■ changed files
quartz/components/renderPage.tsx 3 ●●●● diff | view | raw | blame | history
quartz/i18n/locales/ar-SA.ts 1 ●●●● diff | view | raw | blame | history
quartz/i18n/locales/definition.ts 1 ●●●● diff | view | raw | blame | history
quartz/i18n/locales/fa-IR.ts 1 ●●●● diff | view | raw | blame | history