mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -05:00
Cleanup
This commit is contained in:
parent
ea9d850412
commit
49d9b52b12
1 changed files with 5 additions and 5 deletions
|
@ -442,15 +442,15 @@
|
||||||
:title (tr "workspace.options.width")}
|
:title (tr "workspace.options.width")}
|
||||||
[:span {:class (stl/css :icon-text)} "W"]
|
[:span {:class (stl/css :icon-text)} "W"]
|
||||||
[:& editable-select
|
[:& editable-select
|
||||||
{:min 0.01
|
{:placeholder (if (= :multiple (:rx values)) (tr "settings.multiple") "--")
|
||||||
|
:no-validate true
|
||||||
|
:min 0.01
|
||||||
:class (stl/css :token-select)
|
:class (stl/css :token-select)
|
||||||
:disabled disabled-width-sizing?
|
:disabled disabled-width-sizing?
|
||||||
:input-class (stl/css :numeric-input)
|
:input-class (stl/css :numeric-input)
|
||||||
:no-validate true
|
|
||||||
:on-change on-width-change
|
:on-change on-width-change
|
||||||
:on-token-remove #(on-width-change (wtc/maybe-resolve-token-value %))
|
:on-token-remove #(on-width-change (wtc/maybe-resolve-token-value %))
|
||||||
:options sizing-options
|
:options sizing-options
|
||||||
:placeholder (if (= :multiple (:rx values)) (tr "settings.multiple") "--")
|
|
||||||
:position :left
|
:position :left
|
||||||
:type "number"
|
:type "number"
|
||||||
:value (:width values)}]]
|
:value (:width values)}]]
|
||||||
|
@ -523,13 +523,13 @@
|
||||||
[:span {:class (stl/css :icon)} i/corner-radius]
|
[:span {:class (stl/css :icon)} i/corner-radius]
|
||||||
[:& editable-select
|
[:& editable-select
|
||||||
{:placeholder (if (= :multiple (:rx values)) (tr "settings.multiple") "--")
|
{:placeholder (if (= :multiple (:rx values)) (tr "settings.multiple") "--")
|
||||||
|
:min 0
|
||||||
:class (stl/css :token-select)
|
:class (stl/css :token-select)
|
||||||
:input-class (stl/css :numeric-input)
|
:input-class (stl/css :numeric-input)
|
||||||
:position :right
|
|
||||||
:min 0
|
|
||||||
:on-change on-radius-1-change
|
:on-change on-radius-1-change
|
||||||
:on-token-remove on-border-radius-token-unapply
|
:on-token-remove on-border-radius-token-unapply
|
||||||
:options border-radius-options
|
:options border-radius-options
|
||||||
|
:position :right
|
||||||
:type "number"
|
:type "number"
|
||||||
:value (:rx values)}]]
|
:value (:rx values)}]]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue