mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 21:31:37 +02:00
💄 Add cosmetic changes on sidebar/options ns
This commit is contained in:
parent
868af29d14
commit
f16caa2b98
1 changed files with 22 additions and 17 deletions
|
@ -146,25 +146,30 @@
|
||||||
(st/emit! :interrupt (udw/set-workspace-read-only true))
|
(st/emit! :interrupt (udw/set-workspace-read-only true))
|
||||||
(st/emit! :interrupt (udw/set-workspace-read-only false)))))
|
(st/emit! :interrupt (udw/set-workspace-read-only false)))))
|
||||||
|
|
||||||
design-content (mf/html [:& design-menu {:selected selected
|
design-content
|
||||||
:objects objects
|
(mf/html [:& design-menu {:selected selected
|
||||||
:page-id page-id
|
:objects objects
|
||||||
:file-id file-id
|
:page-id page-id
|
||||||
:selected-shapes selected-shapes
|
:file-id file-id
|
||||||
:shapes-with-children shapes-with-children}])
|
:selected-shapes selected-shapes
|
||||||
|
:shapes-with-children shapes-with-children}])
|
||||||
|
|
||||||
|
inspect-content
|
||||||
|
(mf/html [:div {:class (stl/css :element-options :inspect-options)}
|
||||||
|
[:& hrs/right-sidebar {:page-id page-id
|
||||||
|
:objects objects
|
||||||
|
:file-id file-id
|
||||||
|
:frame shape-parent-frame
|
||||||
|
:shapes selected-shapes
|
||||||
|
:on-change-section on-change-section
|
||||||
|
:on-expand on-expand
|
||||||
|
:from :workspace}]])
|
||||||
|
|
||||||
|
interactions-content
|
||||||
|
(mf/html [:div {:class (stl/css :element-options :interaction-options)}
|
||||||
|
[:& interactions-menu {:shape (first shapes)}]])
|
||||||
|
|
||||||
inspect-content (mf/html [:div {:class (stl/css :element-options :inspect-options)}
|
|
||||||
[:& hrs/right-sidebar {:page-id page-id
|
|
||||||
:objects objects
|
|
||||||
:file-id file-id
|
|
||||||
:frame shape-parent-frame
|
|
||||||
:shapes selected-shapes
|
|
||||||
:on-change-section on-change-section
|
|
||||||
:on-expand on-expand
|
|
||||||
:from :workspace}]])
|
|
||||||
|
|
||||||
interactions-content (mf/html [:div {:class (stl/css :element-options :interaction-options)}
|
|
||||||
[:& interactions-menu {:shape (first shapes)}]])
|
|
||||||
tabs
|
tabs
|
||||||
#js [#js {:label (tr "workspace.options.design")
|
#js [#js {:label (tr "workspace.options.design")
|
||||||
:id "design"
|
:id "design"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue