mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 19:36:37 +02:00
fix(frontend): adapt page options sidebar to new react
This commit is contained in:
parent
b322da5936
commit
105771a00d
1 changed files with 4 additions and 3 deletions
|
@ -68,7 +68,7 @@
|
||||||
{:type "text"
|
{:type "text"
|
||||||
:ref "name"
|
:ref "name"
|
||||||
:on-change on-name-change
|
:on-change on-name-change
|
||||||
:value (:name page)
|
:value (str (:name page))
|
||||||
:placeholder "page name"}]]]
|
:placeholder "page name"}]]]
|
||||||
|
|
||||||
[:span "Size"]
|
[:span "Size"]
|
||||||
|
@ -78,15 +78,16 @@
|
||||||
{:type "number"
|
{:type "number"
|
||||||
:ref "width"
|
:ref "width"
|
||||||
:on-change #(on-size-change :width)
|
:on-change #(on-size-change :width)
|
||||||
:value (:width metadata)
|
:value (str (:width metadata))
|
||||||
:placeholder "width"}]]
|
:placeholder "width"}]]
|
||||||
[:div.input-element.pixels
|
[:div.input-element.pixels
|
||||||
[:input.input-text
|
[:input.input-text
|
||||||
{:type "number"
|
{:type "number"
|
||||||
:ref "height"
|
:ref "height"
|
||||||
:on-change #(on-size-change :height)
|
:on-change #(on-size-change :height)
|
||||||
:value (:height metadata)
|
:value (str (:height metadata))
|
||||||
:placeholder "height"}]]]
|
:placeholder "height"}]]]
|
||||||
|
|
||||||
[:span "Background color"]
|
[:span "Background color"]
|
||||||
[:div.row-flex.color-data
|
[:div.row-flex.color-data
|
||||||
[:span.color-th
|
[:span.color-th
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue