fix: block ref should be able to wrap

pull/1663/head
Peng Xiao 2021-04-13 22:57:18 +08:00 committed by Tienson Qin
parent 71c854bce7
commit c7386b57a9
2 changed files with 1 additions and 5 deletions

View File

@ -498,7 +498,7 @@
(let [block (and (util/uuid-string? id) (let [block (and (util/uuid-string? id)
(db/pull-block (uuid id)))] (db/pull-block (uuid id)))]
(if block (if block
[:div.block-ref-wrap [:span.block-ref-wrap
{:on-mouse-down {:on-mouse-down
(fn [e] (fn [e]
(util/stop e) (util/stop e)

View File

@ -129,10 +129,6 @@
border-bottom-color: var(--ls-block-ref-link-text-color); border-bottom-color: var(--ls-block-ref-link-text-color);
cursor: alias; cursor: alias;
&-wrap {
display: inline-block;
}
&:hover { &:hover {
color: var(--ls-link-text-hover-color) color: var(--ls-link-text-hover-color)
} }