mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
some css
This commit is contained in:
parent
a68d4951af
commit
24e8c984d8
@ -84,7 +84,10 @@ export function ItemFormPopup(props: ItemFormPopupProps) {
|
||||
}}
|
||||
position={props.position}>
|
||||
<form ref={formRef} onReset={resetPopup} onSubmit={e => handleSubmit(e)}>
|
||||
{props.item ? <div className='tw-h-2'></div>
|
||||
:
|
||||
<div className='tw-flex tw-justify-center'><b className="tw-text-xl tw-font-bold">New {props.layer.name}</b></div>
|
||||
}
|
||||
<TextInput type="text" placeholder="Name" dataField="name" defaultValue={props.item ? props.item.name : ""} inputStyle='' />
|
||||
|
||||
{props.children ?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user