Skip to content

Commit be586b3

Browse files
committed
Improve algorithm page style on arabic
1 parent 04b01df commit be586b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/algorithm/[algorithm].tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ export default function AlgorithmPage({
2525
const t = useTranslation();
2626

2727
return (
28-
<div className="section container">
28+
// direction should stay ltr whatever the user-selected language is
29+
<div className="section container" style={{ direction: "ltr" }}>
2930
<Head
3031
title={algorithm.name}
3132
description={t(

0 commit comments

Comments
 (0)