M: small ui fix
This commit is contained in:
parent
78ccc613bd
commit
95c9d58f43
|
|
@ -74,7 +74,7 @@ export function FormEditCst({ target, schema }: FormEditCstProps) {
|
||||||
fitContent
|
fitContent
|
||||||
spellCheck
|
spellCheck
|
||||||
label='Термин'
|
label='Термин'
|
||||||
className='max-h-15'
|
className='max-h-15 disabled:min-h-9'
|
||||||
{...register('item_data.term_raw')}
|
{...register('item_data.term_raw')}
|
||||||
error={errors.item_data?.term_raw}
|
error={errors.item_data?.term_raw}
|
||||||
/>
|
/>
|
||||||
|
|
@ -158,7 +158,7 @@ export function FormEditCst({ target, schema }: FormEditCstProps) {
|
||||||
fitContent
|
fitContent
|
||||||
spellCheck
|
spellCheck
|
||||||
label={isBasic ? 'Конвенция' : 'Комментарий'}
|
label={isBasic ? 'Конвенция' : 'Комментарий'}
|
||||||
className='max-h-20'
|
className='max-h-20 disabled:min-h-9'
|
||||||
{...register('item_data.convention')}
|
{...register('item_data.convention')}
|
||||||
error={errors.item_data?.convention}
|
error={errors.item_data?.convention}
|
||||||
disabled={isBasic && target.is_inherited}
|
disabled={isBasic && target.is_inherited}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user