Skip to content

Commit

Permalink
fix: smaller code mirror font-size
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 committed Nov 22, 2021
1 parent 02328d6 commit ce5925e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/_miscs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,19 @@ progress::-webkit-progress-value {
.cm-s-solarized.cm-s-dark .CodeMirror-gutters {
background: var(--ls-tertiary-background-color) !important;
}

.CodeMirror pre.CodeMirror-line,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber,
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror {
font-size: 12px;
line-height: 16px;
}

.CodeMirror {
background-color: var(--color-level-1);
box-shadow: 0 0 0 2px var(--color-level-2);
}

0 comments on commit ce5925e

Please sign in to comment.