mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
use bootstrap default monospace fonts for code notes, fixes #1489
This commit is contained in:
parent
6c15d299e0
commit
95ccfd2521
@ -13,7 +13,6 @@ const TPL = `
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-size: larger; /* monospace fonts are smaller for some reason so this compensates that */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.note-detail-code-editor {
|
.note-detail-code-editor {
|
||||||
|
@ -265,6 +265,10 @@ div.ui-tooltip {
|
|||||||
background: inherit;
|
background: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.CodeMirror * {
|
||||||
|
font-family: var(--font-family-monospace) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.CodeMirror-gutters {
|
.CodeMirror-gutters {
|
||||||
background-color: inherit !important;
|
background-color: inherit !important;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user