mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
Fix measures placeholder
This commit is contained in:
parent
b7815f137d
commit
581b1912ae
2 changed files with 31 additions and 8 deletions
|
@ -369,7 +369,6 @@ ul.slider-dots {
|
||||||
&::after {
|
&::after {
|
||||||
content: "px";
|
content: "px";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.percentail {
|
&.percentail {
|
||||||
|
@ -377,7 +376,6 @@ ul.slider-dots {
|
||||||
&::after {
|
&::after {
|
||||||
content: "%";
|
content: "%";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.miliseconds {
|
&.miliseconds {
|
||||||
|
@ -385,7 +383,6 @@ ul.slider-dots {
|
||||||
&::after {
|
&::after {
|
||||||
content: "ms";
|
content: "ms";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.degrees {
|
&.degrees {
|
||||||
|
@ -393,9 +390,35 @@ ul.slider-dots {
|
||||||
&::after {
|
&::after {
|
||||||
content: "dg";
|
content: "dg";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.height {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "H";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.width {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "W";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.Xaxis {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "X";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.Yaxis {
|
||||||
|
|
||||||
|
&::after {
|
||||||
|
content: "Y";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
(if (:proportion-lock shape)
|
(if (:proportion-lock shape)
|
||||||
i/lock
|
i/lock
|
||||||
i/unlock)]
|
i/unlock)]
|
||||||
[:div.input-element.pixels
|
[:div.input-element.width
|
||||||
[:input.input-text {:type "number"
|
[:input.input-text {:type "number"
|
||||||
:min "0"
|
:min "0"
|
||||||
:no-validate true
|
:no-validate true
|
||||||
|
@ -120,7 +120,7 @@
|
||||||
(math/round)))}]]
|
(math/round)))}]]
|
||||||
|
|
||||||
|
|
||||||
[:div.input-element.pixels
|
[:div.input-element.height
|
||||||
[:input.input-text {:type "number"
|
[:input.input-text {:type "number"
|
||||||
:min "0"
|
:min "0"
|
||||||
:no-validate true
|
:no-validate true
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
(when (options :position)
|
(when (options :position)
|
||||||
[:div.row-flex
|
[:div.row-flex
|
||||||
[:span.element-set-subtitle (t locale "workspace.options.position")]
|
[:span.element-set-subtitle (t locale "workspace.options.position")]
|
||||||
[:div.input-element.pixels
|
[:div.input-element.Xaxis
|
||||||
[:input.input-text {:placeholder "x"
|
[:input.input-text {:placeholder "x"
|
||||||
:type "number"
|
:type "number"
|
||||||
:no-validate true
|
:no-validate true
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
;; (d/coalesce 0)
|
;; (d/coalesce 0)
|
||||||
;; (math/round)))
|
;; (math/round)))
|
||||||
}]]
|
}]]
|
||||||
[:div.input-element.pixels
|
[:div.input-element.Yaxis
|
||||||
[:input.input-text {:placeholder "y"
|
[:input.input-text {:placeholder "y"
|
||||||
:type "number"
|
:type "number"
|
||||||
:no-validate true
|
:no-validate true
|
||||||
|
|
Loading…
Add table
Reference in a new issue