M: Fix text wrap for long filenames
Some checks failed
Frontend CI / build (22.x) (push) Has been cancelled

This commit is contained in:
Ivan 2024-09-07 19:13:16 +03:00
parent 701f9b57b9
commit ca79161ed8
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ function FileInput({ id, label, acceptType, title, className, style, onChange, .
{...restProps}
/>
<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>
);
}

View File

@ -144,7 +144,7 @@ function FormCreateItem() {
Создание схемы
</h1>
{fileName ? <Label text={`Загружен файл: ${fileName}`} /> : null}
{fileName ? <Label className='text-wrap' text={`Загружен файл: ${fileName}`} /> : null}
<TextInput
id='schema_title'