Fix pre style for long lines

Resolved https://github.com/logseq/logseq/issues/346
This commit is contained in:
Tienson Qin
2020-09-21 12:02:38 +08:00
parent fa879df76a
commit de1a135ea8
3 changed files with 4 additions and 4 deletions

View File

@@ -15,12 +15,12 @@
(highlight! state)
state)}
[state id attr code]
[:pre.code
[:pre.code.pre-wrap-white-space
[:code (assoc attr :id id)
code]])
(defn html-export
[attr code]
[:pre
[:pre.pre-wrap-white-space
[:code attr
code]])