mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 22:46:11 +02:00
add ui fixes
This commit is contained in:
parent
a42d87742f
commit
09c63c636f
3 changed files with 10 additions and 10 deletions
|
@ -91,11 +91,6 @@
|
|||
;; WIDTH & HEIGHT
|
||||
[:div.row-flex
|
||||
[:span.element-set-subtitle (tr "workspace.options.size")]
|
||||
[:div.lock-size {:class (when (:proportion-lock shape) "selected")
|
||||
:on-click on-proportion-lock-change}
|
||||
(if (:proportion-lock shape)
|
||||
i/lock
|
||||
i/unlock)]
|
||||
[:div.input-element.pixels
|
||||
[:> numeric-input {:min 1
|
||||
:on-click select-all
|
||||
|
@ -104,14 +99,19 @@
|
|||
(math/precision 2)
|
||||
(d/coalesce-str "1"))}]]
|
||||
|
||||
|
||||
[:div.input-element.pixels
|
||||
[:> numeric-input {:min 1
|
||||
:on-click select-all
|
||||
:on-change on-height-change
|
||||
:value (-> (:height shape)
|
||||
(math/precision 2)
|
||||
(d/coalesce-str "1"))}]]]
|
||||
(d/coalesce-str "1"))}]]
|
||||
|
||||
[:div.lock-size {:class (when (:proportion-lock shape) "selected")
|
||||
:on-click on-proportion-lock-change}
|
||||
(if (:proportion-lock shape)
|
||||
i/lock
|
||||
i/unlock)]]
|
||||
|
||||
;; POSITION
|
||||
[:div.row-flex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue