enhance: add blocks-properties style

This commit is contained in:
Tienson Qin
2021-05-16 22:48:35 +08:00
parent 8d6b937415
commit 6c6e3f20b6
3 changed files with 3 additions and 2 deletions

View File

@@ -1321,7 +1321,7 @@
properties (sort properties)]
(cond
(seq properties)
[:div
[:div.blocks-properties
(for [[k v] properties]
(rum/with-key (property-cp config block k v)
(str (:block/uuid block) "-" k)))]

View File

@@ -161,6 +161,7 @@
}
.blocks-properties {
padding: 4px 8px;
background-color: var(--ls-block-properties-background-color, #f0f8ff);
}