mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 05:57:11 +02:00
🎉 Add variants properties to inspect panel
This commit is contained in:
parent
b2bc5aff68
commit
625cbfc50a
9 changed files with 146 additions and 32 deletions
|
@ -36,9 +36,9 @@
|
|||
(for [property properties]
|
||||
(when-let [value (css/get-css-value objects shape property)]
|
||||
(let [property-name (cmm/get-css-rule-humanized property)]
|
||||
[:div {:class (stl/css :layout-row)}
|
||||
[:div {:class (stl/css :layout-row)
|
||||
:key (dm/str "layout-" (:id shape) "-" (d/name property))}
|
||||
[:div {:title property-name
|
||||
:key (dm/str "layout-" (:id shape) "-" (d/name property))
|
||||
:class (stl/css :global/attr-label)}
|
||||
property-name]
|
||||
[:div {:class (stl/css :global/attr-value)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue