mirror of
https://github.com/logseq/logseq.git
synced 2026-05-23 20:24:15 +00:00
fix(regression): properties and classes collapsed on publishing
Properties and class pages have critical info in their properties. When reading on a published site, it's bad ux to have this useful info hidden on hover
This commit is contained in:
@@ -3604,7 +3604,7 @@
|
||||
linked-block? (or (:block/link block)
|
||||
(:original-block config))]
|
||||
(cond
|
||||
(and (:page-title? config) (or (ldb/class? block) (ldb/property? block)))
|
||||
(and (:page-title? config) (or (ldb/class? block) (ldb/property? block)) (not config/publishing?))
|
||||
(let [collapsed? (state/get-block-collapsed block-id)]
|
||||
(state/set-collapsed-block! block-id (if (some? collapsed?) collapsed? true)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user