mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix: page reference display error
This commit is contained in:
@@ -1084,9 +1084,13 @@
|
|||||||
(not contents-page?))
|
(not contents-page?))
|
||||||
[:span.text-gray-500.bracket page-ref/left-brackets])
|
[:span.text-gray-500.bracket page-ref/left-brackets])
|
||||||
(when (and (config/db-based-graph?) (ldb/class-instance? (db/entity :logseq.class/Task) block))
|
(when (and (config/db-based-graph?) (ldb/class-instance? (db/entity :logseq.class/Task) block))
|
||||||
[:div.inline-block {:style {:margin-right 1}
|
[:div.inline-block
|
||||||
|
{:style {:margin-right 1
|
||||||
|
:margin-top -2
|
||||||
|
:vertical-align "middle"}
|
||||||
:on-pointer-down (fn [e]
|
:on-pointer-down (fn [e]
|
||||||
(util/stop e))} (block-positioned-properties config block :block-left)])
|
(util/stop e))}
|
||||||
|
(block-positioned-properties config block :block-left)])
|
||||||
(page-cp config' (if (uuid? uuid-or-title)
|
(page-cp config' (if (uuid? uuid-or-title)
|
||||||
{:block/uuid uuid-or-title}
|
{:block/uuid uuid-or-title}
|
||||||
{:block/name uuid-or-title}))
|
{:block/name uuid-or-title}))
|
||||||
|
|||||||
@@ -383,7 +383,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-reference {
|
.page-reference {
|
||||||
@apply inline-flex flex-row items-center rounded transition-[background];
|
@apply rounded transition-[background];
|
||||||
|
|
||||||
.bracket {
|
.bracket {
|
||||||
@apply opacity-30;
|
@apply opacity-30;
|
||||||
|
|||||||
Reference in New Issue
Block a user