Skip to content

Commit

Permalink
chore: style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 18, 2020
1 parent 1c7564c commit 9ac1316
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions resources/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -1367,9 +1367,9 @@ a.tag:hover {
margin-bottom: 8px;
}

.CodeMirror {
.extensions__code>.CodeMirror {
height: auto;
margin: 6px 0;
margin: 6px 0 0 0;
font-family: Fira Code, Monaco, Menlo, Consolas, 'COURIER NEW', monospace;
}

Expand Down
2 changes: 1 addition & 1 deletion resources/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
@import "./reveal_black.min.css";
@import "./katex.min.css";
@import "../../static/css/tailwind.build.css"; /* Build by gulp. Check `_buildTailwind` for more detail */
@import "./codemirror.min.css";
@import "./common.css";
@import "./datepicker.css";
@import "./highlight.css";
@import "./codemirror.min.css";
@import "./table.css";
@import "./excalidraw.min.css";
5 changes: 3 additions & 2 deletions src/main/frontend/components/block.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,11 +1052,12 @@
(reset! *dragging? false)
(reset! *dragging-block nil)
(editor-handler/unhighlight-block!))}]
[:div.flex.overflow-x-auto.overflow-y-hidden.relative
[:div.flex.relative
[:div.flex-1.flex-col.relative.block-content
(cond-> {:id (str "block-content-" uuid)
:style {:cursor "text"
:min-height 24}}
:min-height 24
:max-width 560}}
(not slide?)
(merge attrs))

Expand Down

0 comments on commit 9ac1316

Please sign in to comment.