center small item heading

This commit is contained in:
Anton Tranelis 2024-07-29 19:06:13 +02:00
parent ca018fde46
commit e9c0a6f1e7

View File

@ -129,7 +129,7 @@ export function ItemFormPopup(props: ItemFormPopupProps) {
<form ref={formRef} onReset={resetPopup} autoComplete='off' onSubmit={e => handleSubmit(e)}>
{props.item ? <div className='tw-h-3'></div>
:
<div className='tw-flex tw-justify-center'><b className="tw-text-xl tw-font-bold">{ props.layer.menuText}</b></div>
<div className='tw-flex tw-justify-center'><b className="tw-text-xl tw-text-center tw-font-bold">{ props.layer.menuText}</b></div>
}
{props.children ?