🐛 Fix visual bugs

This commit is contained in:
elhombretecla 2020-11-18 15:41:05 +01:00
parent a22ec43cf2
commit ceed926274
3 changed files with 17 additions and 15 deletions

View file

@ -114,13 +114,6 @@
(when (options :size)
[:div.row-flex
[:span.element-set-subtitle (t locale "workspace.options.size")]
[:div.lock-size {:class (classnames
:selected (true? proportion-lock)
:disabled (= proportion-lock :multiple))
:on-click on-proportion-lock-change}
(if proportion-lock
i/lock
i/unlock)]
[:div.input-element.width
[:input.input-text {:type "number"
:min "0"
@ -138,7 +131,15 @@
:placeholder "--"
:on-click select-all
:on-change on-height-change
:value (attr->string :height values)}]]])
:value (attr->string :height values)}]]
[:div.lock-size {:class (classnames
:selected (true? proportion-lock)
:disabled (= proportion-lock :multiple))
:on-click on-proportion-lock-change}
(if proportion-lock
i/lock
i/unlock)]])
;; POSITION
(when (options :position)