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
This commit is contained in:
		@@ -5,6 +5,7 @@ export default {
 | 
			
		||||
    title: "بدون عنوان",
 | 
			
		||||
    description: "توضیح خاصی اضافه نشده است",
 | 
			
		||||
  },
 | 
			
		||||
  direction: "rtl" as const,
 | 
			
		||||
  components: {
 | 
			
		||||
    callout: {
 | 
			
		||||
      note: "یادداشت",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user