fix: Line-numbering in code blocks runs horizontal on Linux

closes #4901
This commit is contained in:
Tom Moor
2023-02-20 09:08:07 -05:00
parent 0514c119f9
commit 0e622288ff
2 changed files with 9 additions and 5 deletions

View File

@@ -998,6 +998,9 @@ mark {
position: absolute;
left: 1em;
top: calc(1px + 0.75em);
width: calc(var(--line-number-gutter-width,0) * 1em + .25em);
word-break: break-all;
text-align: right;
font-family: ${props.theme.fontFamilyMono};
font-size: 13px;