mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-08-14 21:00:37 +03:00
Fix dialog UI
This commit is contained in:
parent
cf57cf369a
commit
096e11a35a
|
@ -163,7 +163,7 @@ function DlgEditReference({ hideWindow, items, initial, onSave }: DlgEditReferen
|
||||||
canSubmit={isValid}
|
canSubmit={isValid}
|
||||||
onSubmit={handleSubmit}
|
onSubmit={handleSubmit}
|
||||||
>
|
>
|
||||||
<div className='min-w-[40rem] max-w-[40rem] flex flex-col gap-4 mb-4 min-h-[34rem]'>
|
<div className='min-w-[40rem] max-w-[40rem] flex flex-col gap-3 mb-2 min-h-[34rem]'>
|
||||||
<div className='flex items-center self-center flex-start'>
|
<div className='flex items-center self-center flex-start'>
|
||||||
<ReferenceTypeButton
|
<ReferenceTypeButton
|
||||||
type={ReferenceType.ENTITY}
|
type={ReferenceType.ENTITY}
|
||||||
|
@ -211,7 +211,7 @@ function DlgEditReference({ hideWindow, items, initial, onSave }: DlgEditReferen
|
||||||
/>
|
/>
|
||||||
</div> : null}
|
</div> : null}
|
||||||
{type === ReferenceType.ENTITY ?
|
{type === ReferenceType.ENTITY ?
|
||||||
<div className='flex flex-col gap-2'>
|
<div className='flex flex-col gap-3'>
|
||||||
<ConstituentaPicker
|
<ConstituentaPicker
|
||||||
value={selectedCst}
|
value={selectedCst}
|
||||||
data={items}
|
data={items}
|
||||||
|
@ -245,11 +245,12 @@ function DlgEditReference({ hideWindow, items, initial, onSave }: DlgEditReferen
|
||||||
|
|
||||||
{FormButtons}
|
{FormButtons}
|
||||||
|
|
||||||
<div className='flex items-center gap-10 flex-start'>
|
<div className='flex items-center gap-4 flex-start'>
|
||||||
<Label text='Отсылаемая словоформа'/>
|
<Label text='Отсылаемая словоформа'/>
|
||||||
<SelectMulti
|
<SelectMulti
|
||||||
placeholder='Выберите граммемы'
|
placeholder='Выберите граммемы'
|
||||||
className='flex-grow h-full z-modal-top'
|
className='flex-grow h-full z-modal-top'
|
||||||
|
menuPlacement='top'
|
||||||
options={gramOptions}
|
options={gramOptions}
|
||||||
value={selectedGrams}
|
value={selectedGrams}
|
||||||
onChange={newValue => setSelectedGrams([...newValue].sort(compareGrammemeOptions))}
|
onChange={newValue => setSelectedGrams([...newValue].sort(compareGrammemeOptions))}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user