]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
978acec
)
Code: Set base codemirror line height
author
Dan Brown
<redacted>
Fri, 29 Nov 2024 12:57:53 +0000
(12:57 +0000)
committer
Dan Brown
<redacted>
Fri, 29 Nov 2024 12:57:53 +0000
(12:57 +0000)
Prevents difference in line height between light/dark mode.
For #5146
resources/sass/_codemirror.scss
patch
|
blob
|
history
diff --git
a/resources/sass/_codemirror.scss
b/resources/sass/_codemirror.scss
index c79671d76467a4baf3b8edcab39598a769b996ce..5f14cb9dbc90a3230dfe632313b41192c5163463 100644
(file)
--- a/
resources/sass/_codemirror.scss
+++ b/
resources/sass/_codemirror.scss
@@
-14,6
+14,10
@@
border-radius: 4px;
}
+.cm-editor .cm-line {
+ line-height: 1.6;
+}
+
.cm-editor .cm-line, .cm-editor .cm-gutter {
font-family: var(--font-code);
}