mirror of
https://github.com/penpot/penpot.git
synced 2025-05-09 21:26:38 +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"
|
||||
:ref "name"
|
||||
:on-change on-name-change
|
||||
:value (:name page)
|
||||
:value (str (:name page))
|
||||
:placeholder "page name"}]]]
|
||||
|
||||
[:span "Size"]
|
||||
|
@ -78,15 +78,16 @@
|
|||
{:type "number"
|
||||
:ref "width"
|
||||
:on-change #(on-size-change :width)
|
||||
:value (:width metadata)
|
||||
:value (str (:width metadata))
|
||||
:placeholder "width"}]]
|
||||
[:div.input-element.pixels
|
||||
[:input.input-text
|
||||
{:type "number"
|
||||
:ref "height"
|
||||
:on-change #(on-size-change :height)
|
||||
:value (:height metadata)
|
||||
:value (str (:height metadata))
|
||||
:placeholder "height"}]]]
|
||||
|
||||
[:span "Background color"]
|
||||
[:div.row-flex.color-data
|
||||
[:span.color-th
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue