mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 04:50:36 +03:00
M: Fix text wrap for long filenames
Some checks failed
Frontend CI / build (22.x) (push) Has been cancelled
Some checks failed
Frontend CI / build (22.x) (push) Has been cancelled
This commit is contained in:
parent
701f9b57b9
commit
ca79161ed8
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -144,7 +144,7 @@ function FormCreateItem() {
|
|||
Создание схемы
|
||||
</h1>
|
||||
|
||||
{fileName ? <Label text={`Загружен файл: ${fileName}`} /> : null}
|
||||
{fileName ? <Label className='text-wrap' text={`Загружен файл: ${fileName}`} /> : null}
|
||||
|
||||
<TextInput
|
||||
id='schema_title'
|
||||
|
|
Loading…
Reference in New Issue
Block a user