mirror of https://github.com/logseq/logseq
enhance(ui): refs link
parent
c1c6197b9b
commit
8fe21b2405
|
@ -468,11 +468,21 @@ a.tag {
|
|||
@apply text-sm inline-flex items-center text-center cursor-pointer rounded opacity-70;
|
||||
|
||||
color: var(--lx-accent-11, var(--ls-tag-text-color, hsl(var(--primary))));
|
||||
}
|
||||
|
||||
a.tag:hover {
|
||||
&:hover {
|
||||
opacity: var(--ls-tag-text-hover-opacity, 1);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
&[data-ref] + &[data-ref] {
|
||||
@apply mx-[3px];
|
||||
}
|
||||
}
|
||||
|
||||
.preview-ref-link {
|
||||
& + &, & + a.tag, a.tag + & {
|
||||
@apply mx-[3px];
|
||||
}
|
||||
}
|
||||
|
||||
svg.note {
|
||||
|
|
|
@ -691,7 +691,7 @@
|
|||
(shui/popup-hide!))))
|
||||
[visible?])
|
||||
|
||||
[:span
|
||||
[:span.preview-ref-link
|
||||
{:ref *el-trigger
|
||||
:on-mouse-enter (fn []
|
||||
(let [timer (rum/deref *timer)
|
||||
|
|
Loading…
Reference in New Issue