Skip to content

Commit

Permalink
enhance(editor): style of fallback ui
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 authored and tiensonqin committed Nov 9, 2021
1 parent df40dbd commit 565b3b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/frontend/components/block.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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?]
Expand Down
5 changes: 0 additions & 5 deletions src/main/frontend/components/block.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@
&-fallback-ui {
padding:10px 15px;
border-color: var(--ls-secondary-border-color);

pre {
font-size: 13px;
margin: 0;
}
}
}

Expand Down

0 comments on commit 565b3b9

Please sign in to comment.