diff --git a/src/main/frontend/components/block.cljs b/src/main/frontend/components/block.cljs index 2aa87cad688..80f46df4f84 100644 --- a/src/main/frontend/components/block.cljs +++ b/src/main/frontend/components/block.cljs @@ -1851,7 +1851,7 @@ [:a.text-xs.opacity-50.hover:opacity-80 {:href "https://github.com/logseq/logseq/issues" :target "_blank"} "report issue"]] - [:pre content]])) + [:pre.m-0.text-sm content]])) (rum/defc block-content-or-editor < rum/reactive [config {:block/keys [uuid body format] :as block} edit-input-id block-id heading-level edit?] diff --git a/src/main/frontend/components/block.css b/src/main/frontend/components/block.css index a551dab8f73..7adef044e26 100644 --- a/src/main/frontend/components/block.css +++ b/src/main/frontend/components/block.css @@ -91,11 +91,6 @@ &-fallback-ui { padding:10px 15px; border-color: var(--ls-secondary-border-color); - - pre { - font-size: 13px; - margin: 0; - } } }