Skip to content

Commit 6be98e0

Browse files
cN3rdehuss
authored andcommitted
Ensure code segments always render in LTR
1 parent 5e0c68c commit 6be98e0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/theme/css/general.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ body {
2525
code {
2626
font-family: var(--mono-font) !important;
2727
font-size: var(--code-font-size);
28+
direction: ltr !important;
2829
}
2930

3031
/* make long words/inline code not x overflow */

src/theme/css/print.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
overflow-y: initial;
2323
}
2424

25+
code {
26+
direction: ltr !important;
27+
}
28+
2529
pre > .buttons {
2630
z-index: 2;
2731
}

0 commit comments

Comments
 (0)