Skip to content

Commit b0c2a6d

Browse files
authored
fix: progressNode position in rtl mode (#408)
1 parent 71a21df commit b0c2a6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Preview/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function Footer(props: FooterProps) {
8686
// >>>>> Progress
8787
const progressNode = showProgress && (
8888
<div className={`${prefixCls}-progress`}>
89-
{countRender ? countRender(current + 1, count) : `${current + 1} / ${count}`}
89+
{countRender ? countRender(current + 1, count) : <bdi>{`${current + 1} / ${count}`}</bdi>}
9090
</div>
9191
);
9292

0 commit comments

Comments
 (0)