enhance: widen property configure

This commit is contained in:
Tienson Qin
2023-10-19 00:58:20 +08:00
parent 6201751ce5
commit 60737c5903
3 changed files with 7 additions and 3 deletions

View File

@@ -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)))])]

View File

@@ -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

View File

@@ -205,4 +205,8 @@ a.control-link {
h1.title {
margin-bottom: 1.5rem;
}
h2.title {
margin-bottom: 1rem;
}
}