Fix measures placeholder

This commit is contained in:
Juan de la Cruz 2020-05-07 15:27:10 +02:00
parent b7815f137d
commit 581b1912ae
2 changed files with 31 additions and 8 deletions

View file

@ -110,7 +110,7 @@
(if (:proportion-lock shape)
i/lock
i/unlock)]
[:div.input-element.pixels
[:div.input-element.width
[:input.input-text {:type "number"
:min "0"
:no-validate true
@ -120,7 +120,7 @@
(math/round)))}]]
[:div.input-element.pixels
[:div.input-element.height
[:input.input-text {:type "number"
:min "0"
:no-validate true
@ -133,7 +133,7 @@
(when (options :position)
[:div.row-flex
[:span.element-set-subtitle (t locale "workspace.options.position")]
[:div.input-element.pixels
[:div.input-element.Xaxis
[:input.input-text {:placeholder "x"
:type "number"
:no-validate true
@ -143,7 +143,7 @@
;; (d/coalesce 0)
;; (math/round)))
}]]
[:div.input-element.pixels
[:div.input-element.Yaxis
[:input.input-text {:placeholder "y"
:type "number"
:no-validate true