M: Fix text wrap for long filenames
This commit is contained in:
parent
1078a271fb
commit
0302a99344
|
@ -46,7 +46,7 @@ function FileInput({ id, label, acceptType, title, className, style, onChange, .
|
||||||
{...restProps}
|
{...restProps}
|
||||||
/>
|
/>
|
||||||
<Button text={label} icon={<IconUpload size='1.25rem' />} onClick={handleUploadClick} title={title} />
|
<Button text={label} icon={<IconUpload size='1.25rem' />} onClick={handleUploadClick} title={title} />
|
||||||
<Label text={fileName} htmlFor={id} />
|
<Label className='text-wrap' text={fileName} htmlFor={id} />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,7 +144,7 @@ function FormCreateItem() {
|
||||||
Создание схемы
|
Создание схемы
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{fileName ? <Label text={`Загружен файл: ${fileName}`} /> : null}
|
{fileName ? <Label className='text-wrap' text={`Загружен файл: ${fileName}`} /> : null}
|
||||||
|
|
||||||
<TextInput
|
<TextInput
|
||||||
id='schema_title'
|
id='schema_title'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user