Set a different color for property bullet

This commit is contained in:
Tienson Qin
2023-09-15 15:29:09 +08:00
parent 56d29e1732
commit 963831189d
3 changed files with 6 additions and 2 deletions

View File

@@ -2929,7 +2929,7 @@
(block-right-menu config block edit?))]
(when (and (config/db-based-graph? repo) (not collapsed?))
[:div {:style {:padding-left 29}}
[:div.mt-1 {:style {:padding-left 29}}
(db-properties-cp config
block
edit-input-id

View File

@@ -355,7 +355,7 @@
(when-let [id (:id icon)]
(when (= :emoji (:type icon))
[:em-emoji {:id id}]))
[:span.bullet-container.cursor
[:span.bullet-container.cursor (when collapsed? {:class "bullet-closed"})
[:span.bullet]])])
(fn [{:keys [toggle-fn]}]
(ui/emoji-picker

View File

@@ -123,3 +123,7 @@ input.simple-input:focus {
max-width: 720px;
}
}
.property-key .bullet-container .bullet {
background-color: darkgrey;
}