Skip to content

Commit 4630f07

Browse files
committed
Code: Set base codemirror line height
Prevents difference in line height between light/dark mode. For #5146
1 parent 978acec commit 4630f07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/sass/_codemirror.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
border-radius: 4px;
1515
}
1616

17+
.cm-editor .cm-line {
18+
line-height: 1.6;
19+
}
20+
1721
.cm-editor .cm-line, .cm-editor .cm-gutter {
1822
font-family: var(--font-code);
1923
}

0 commit comments

Comments
 (0)