Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Dec 1, 2021
1 parent 94650d7 commit d0d2579
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions cvat-ui/src/components/create-cloud-storage-page/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
:nth-child(1) {
flex-grow: 1;
}

:nth-child(2) {
max-width: 37 * $grid-unit-size;
}
}

> div:not(first-child) {
Expand Down

0 comments on commit d0d2579

Please sign in to comment.