diff --git a/CHANGELOG.md b/CHANGELOG.md index 64cc0d2..f410935 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.21.17](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.16...v1.21.17) (2021-11-22) + + +### Bug Fixes + +* smaller code mirror font-size ([ce5925e](https://github.com/pengx17/logseq-dev-theme/commit/ce5925e01314f205acac1e6ba3bf2073cc4526be)) + ## [1.21.16](https://github.com/pengx17/logseq-dev-theme/compare/v1.21.15...v1.21.16) (2021-11-18) diff --git a/custom.css b/custom.css index 8f4c3e3..d04fbab 100644 --- a/custom.css +++ b/custom.css @@ -782,6 +782,22 @@ progress::-webkit-progress-value { 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); +} + /* Popups */ .tippy-tooltip { padding: 0.5em 0; diff --git a/package.json b/package.json index 44cf70d..221fb8b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.21.16", + "version": "1.21.17", "description": "A custom theme for dev", "logseq": { "themes": [