mirror of https://github.com/logseq/logseq
fix: block ref should be able to wrap
parent
71c854bce7
commit
c7386b57a9
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue