mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 23:31:21 -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 {
|
||||
content: "px";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.percentail {
|
||||
|
@ -377,7 +376,6 @@ ul.slider-dots {
|
|||
&::after {
|
||||
content: "%";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.miliseconds {
|
||||
|
@ -385,7 +383,6 @@ ul.slider-dots {
|
|||
&::after {
|
||||
content: "ms";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.degrees {
|
||||
|
@ -393,9 +390,35 @@ ul.slider-dots {
|
|||
&::after {
|
||||
content: "dg";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.height {
|
||||
|
||||
&::after {
|
||||
content: "H";
|
||||
}
|
||||
}
|
||||
|
||||
&.width {
|
||||
|
||||
&::after {
|
||||
content: "W";
|
||||
}
|
||||
}
|
||||
|
||||
&.Xaxis {
|
||||
|
||||
&::after {
|
||||
content: "X";
|
||||
}
|
||||
}
|
||||
|
||||
&.Yaxis {
|
||||
|
||||
&::after {
|
||||
content: "Y";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
input,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue