File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export function initData(route: Route): VitePressData {
89
89
frontmatter : computed ( ( ) => route . data . frontmatter ) ,
90
90
params : computed ( ( ) => route . data . params ) ,
91
91
lang : computed ( ( ) => site . value . lang ) ,
92
- dir : computed ( ( ) => site . value . dir ) ,
92
+ dir : computed ( ( ) => route . data . frontmatter . dir || site . value . dir || 'ltr' ) ,
93
93
localeIndex : computed ( ( ) => site . value . localeIndex || 'root' ) ,
94
94
title : computed ( ( ) => {
95
95
return createTitle ( site . value , route . data )
Original file line number Diff line number Diff line change 39
39
font-weight : 400 ;
40
40
color : var (--vp-c-text-1 );
41
41
background-color : var (--vp-c-bg );
42
- direction : ltr;
43
42
font-synthesis : style;
44
43
text-rendering : optimizeLegibility;
45
44
-webkit-font-smoothing : antialiased;
You can’t perform that action at this time.
0 commit comments