mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 09:31:42 +02:00
🐛 Hide guides parameters when hiding guides
This commit is contained in:
parent
85c301c26b
commit
db3d7af0b8
1 changed files with 97 additions and 96 deletions
|
@ -180,6 +180,7 @@
|
||||||
:on-click on-remove}
|
:on-click on-remove}
|
||||||
i/remove-refactor]]]
|
i/remove-refactor]]]
|
||||||
|
|
||||||
|
(when (:display grid)
|
||||||
[:& advanced-options {:class (stl/css :grid-advanced-options)
|
[:& advanced-options {:class (stl/css :grid-advanced-options)
|
||||||
:visible? open?
|
:visible? open?
|
||||||
:on-close toggle-advanced-options}
|
:on-close toggle-advanced-options}
|
||||||
|
@ -281,7 +282,7 @@
|
||||||
:on-click handle-use-default} (tr "workspace.options.grid.params.use-default")]
|
:on-click handle-use-default} (tr "workspace.options.grid.params.use-default")]
|
||||||
[:button {:disabled is-default
|
[:button {:disabled is-default
|
||||||
:class (stl/css :option-btn)
|
:class (stl/css :option-btn)
|
||||||
:on-click handle-set-as-default} (tr "workspace.options.grid.params.set-default")]])]])]]
|
:on-click handle-set-as-default} (tr "workspace.options.grid.params.set-default")]])]])])]
|
||||||
|
|
||||||
[:div.grid-option
|
[:div.grid-option
|
||||||
[:div.grid-option-main {:style {:display (when open? "none")}}
|
[:div.grid-option-main {:style {:display (when open? "none")}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue