diff --git a/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx b/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx index b06212b18567..af78fccac4cc 100644 --- a/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx +++ b/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx @@ -440,7 +440,7 @@ export default function CreateCloudStorageForm(props: Props): JSX.Element { multiple={false} maxCount={1} fileList={ - uploadedKeyFile ? [{ uid: '1', name: 'key.json' }] : [] + uploadedKeyFile ? [{ uid: '1', name: uploadedKeyFile.name }] : [] } beforeUpload={(file: RcFile): boolean => { setUploadedKeyFile(file); diff --git a/cvat-ui/src/components/create-cloud-storage-page/styles.scss b/cvat-ui/src/components/create-cloud-storage-page/styles.scss index 31ba6ad062f4..265645e2c2db 100644 --- a/cvat-ui/src/components/create-cloud-storage-page/styles.scss +++ b/cvat-ui/src/components/create-cloud-storage-page/styles.scss @@ -41,6 +41,10 @@ :nth-child(1) { flex-grow: 1; } + + :nth-child(2) { + max-width: 37 * $grid-unit-size; + } } > div:not(first-child) {