mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: auto height for code block
This commit is contained in:
@@ -549,7 +549,6 @@
|
||||
(fn [e]
|
||||
(.stopPropagation e)))
|
||||
(.save editor)
|
||||
(.setSize editor "100%" 1024)
|
||||
(.refresh editor)))
|
||||
editor))
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
.CodeMirror {
|
||||
height: auto;
|
||||
max-height: 1024px;
|
||||
width: 100%;
|
||||
font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace;
|
||||
border-radius: 2px;
|
||||
|
||||
Reference in New Issue
Block a user