From 808e4b38a3f25f7d60b801808b9f08b44a0c72b6 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Mon, 14 Aug 2023 11:10:02 +0800 Subject: [PATCH] fixup --- app/components/markdown.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/markdown.tsx b/app/components/markdown.tsx index e2a156a0b..4a84969c5 100644 --- a/app/components/markdown.tsx +++ b/app/components/markdown.tsx @@ -146,11 +146,11 @@ export function Markdown( className="markdown-body" style={{ fontSize: `${props.fontSize ?? 14}px`, - direction: /^[\u0600-\u06FF]/.test(props.content) ? "rtl" : "ltr", }} ref={mdRef} onContextMenu={props.onContextMenu} onDoubleClickCapture={props.onDoubleClickCapture} + dir="auto" > {props.loading ? (