use bootstrap default monospace fonts for code notes, fixes #1489

This commit is contained in:
zadam 2020-12-18 22:37:29 +01:00
parent 6c15d299e0
commit 95ccfd2521
2 changed files with 4 additions and 1 deletions

View File

@ -13,7 +13,6 @@ const TPL = `
height: 100%;
display: flex;
flex-direction: column;
font-size: larger; /* monospace fonts are smaller for some reason so this compensates that */
}
.note-detail-code-editor {

View File

@ -265,6 +265,10 @@ div.ui-tooltip {
background: inherit;
}
.CodeMirror * {
font-family: var(--font-family-monospace) !important;
}
.CodeMirror-gutters {
background-color: inherit !important;
border-right: none;