mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 23:19:38 +00:00
enhance: widen property configure
This commit is contained in:
@@ -369,7 +369,7 @@
|
||||
(when class?
|
||||
(page-properties page page-opts))
|
||||
(when (and property? (not class?))
|
||||
[:h1.title "Configure property"])
|
||||
[:h2.title "Configure property"])
|
||||
(when property?
|
||||
(property/property-config page page (assoc opts
|
||||
:inline-text component-block/inline-text)))])]
|
||||
|
||||
@@ -665,8 +665,8 @@
|
||||
:on-click toggle-fn}
|
||||
[:div {:style {:padding-left 6}} (:block/original-name property)]]))
|
||||
(fn [{:keys [toggle-fn]}]
|
||||
[:div.p-8
|
||||
[:h1.title "Configure property"]
|
||||
[:div.p-8 {:style {:min-width 700}}
|
||||
[:h2.title "Configure property"]
|
||||
(property-config block property
|
||||
{:toggle-fn toggle-fn
|
||||
:inline-text inline-text
|
||||
|
||||
@@ -205,4 +205,8 @@ a.control-link {
|
||||
h1.title {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
h2.title {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user