Web: Settings: Backup: Added max-length for input.
This commit is contained in:
parent
20404ad431
commit
009d587090
@ -18,6 +18,7 @@ const FileInputWithFolderPath = (
|
||||
baseFolder,
|
||||
onClickInput,
|
||||
name,
|
||||
className,
|
||||
},
|
||||
...rest
|
||||
) => {
|
||||
@ -28,11 +29,12 @@ const FileInputWithFolderPath = (
|
||||
hasError={hasError}
|
||||
hasWarning={hasWarning}
|
||||
isDisabled={isDisabled}
|
||||
className={className}
|
||||
{...rest}
|
||||
>
|
||||
<TextInput
|
||||
id={id}
|
||||
className="text-input"
|
||||
className="text-input-with-folder-path"
|
||||
placeholder={placeholder}
|
||||
value={folderPath || baseFolder}
|
||||
size={size}
|
||||
|
@ -21,6 +21,11 @@ const StyledComponent = styled.div`
|
||||
.input-with-folder-path {
|
||||
margin-top: 16px;
|
||||
}
|
||||
.input-with-folder-path,
|
||||
.text-input-with-folder-path {
|
||||
width: 100%;
|
||||
max-width: 820px;
|
||||
}
|
||||
.panel-loader-wrapper {
|
||||
margin-top: 8px;
|
||||
padding-left: 32px;
|
||||
@ -168,7 +173,6 @@ class OperationsDialog extends React.PureComponent {
|
||||
<StyledComponent>
|
||||
<FileInputWithFolderPath
|
||||
name={name}
|
||||
scale
|
||||
className="input-with-folder-path"
|
||||
baseFolder={baseFolder}
|
||||
isDisabled={isLoading || isSavingProcess}
|
||||
|
Loading…
Reference in New Issue
Block a user