Ensure code segments always render in LTR
This commit is contained in:
parent
5e0c68c45e
commit
6be98e0bbd
|
@ -25,6 +25,7 @@ body {
|
||||||
code {
|
code {
|
||||||
font-family: var(--mono-font) !important;
|
font-family: var(--mono-font) !important;
|
||||||
font-size: var(--code-font-size);
|
font-size: var(--code-font-size);
|
||||||
|
direction: ltr !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* make long words/inline code not x overflow */
|
/* make long words/inline code not x overflow */
|
||||||
|
|
|
@ -22,6 +22,10 @@
|
||||||
overflow-y: initial;
|
overflow-y: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
direction: ltr !important;
|
||||||
|
}
|
||||||
|
|
||||||
pre > .buttons {
|
pre > .buttons {
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue