fix: codemirror style

This commit is contained in:
Tienson Qin
2022-02-10 11:00:58 +08:00
parent bd3128ab6e
commit 7f7b5e0c36
3 changed files with 12 additions and 19 deletions

View File

@@ -294,7 +294,7 @@
(when-not (= mode "calc")
[:div.extensions__code-lang
(string/lower-case mode)]))
[:div.flex.flex-1.flex-row.w-full.mt-6.pr-2
[:div.flex.flex-1.flex-row.w-full.mt-6
[:textarea (merge {:id id
;; Expose the textarea associated with the CodeMirror instance via
;; ref so that we can autofocus into the CodeMirror instance later.