B: Fix input min-width
Some checks failed
Frontend CI / build (22.x) (push) Waiting to run
Backend CI / build (3.12) (push) Has been cancelled

This commit is contained in:
Ivan 2024-08-30 11:03:45 +03:00
parent ce73be22bf
commit 50452bd92d
3 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ function TextInput({
<input
id={id}
className={clsx(
'py-2',
'min-w-0 py-2',
'leading-tight truncate hover:text-clip',
{
'px-3': !noBorder || !disabled,

View File

@ -62,7 +62,7 @@ function FormCreateCst({ schema, state, partialUpdate, setValidated }: FormCreat
id='dlg_cst_alias'
dense
label='Имя'
className='w-[7rem] mr-8'
className='w-[7rem]'
value={state.alias}
onChange={event => partialUpdate({ alias: event.target.value })}
/>

View File

@ -46,7 +46,7 @@ function DlgRenameCst({ hideWindow, initial, onRename }: DlgRenameCstProps) {
hideWindow={hideWindow}
canSubmit={validated}
onSubmit={() => onRename(cstData)}
className={clsx('w-[30rem]', 'py-6 pr-3 pl-6 flex justify-center items-center')}
className={clsx('w-[30rem]', 'py-6 pr-3 pl-6 flex gap-3 justify-center items-center')}
>
<SelectSingle
id='dlg_cst_type'
@ -64,7 +64,7 @@ function DlgRenameCst({ hideWindow, initial, onRename }: DlgRenameCstProps) {
id='dlg_cst_alias'
dense
label='Имя'
className='w-[7rem] ml-3'
className='w-[7rem]'
value={cstData.alias}
onChange={event => updateData({ alias: event.target.value })}
/>