Ensure code segments always render in LTR

This commit is contained in:
cN3rd 2022-06-24 15:00:02 +00:00 committed by Eric Huss
parent 5e0c68c45e
commit 6be98e0bbd
2 changed files with 5 additions and 0 deletions

View File

@ -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 */

View File

@ -22,6 +22,10 @@
overflow-y: initial; overflow-y: initial;
} }
code {
direction: ltr !important;
}
pre > .buttons { pre > .buttons {
z-index: 2; z-index: 2;
} }