Skip to content

Commit

Permalink
fix (#2069)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut authored Apr 4, 2022
1 parent d969de5 commit 1ef3ddb
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions packages/storage-ui/src/Components/Modules/FilesList/FilesList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,15 @@ const useStyles = makeStyles(
color: "#FFFF00",
fontWeight: 600,
paddingRight: constants.generalUnit
},
fileNameHeader: {
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
marginRight: constants.generalUnit * 2
},
buttonWrap: {
whiteSpace: "nowrap"
}
})
}
Expand Down Expand Up @@ -601,6 +610,7 @@ const FilesList = () => {
<Typography
variant="h1"
component="h1"
className={classes.fileNameHeader}
>
{heading}
</Typography>
Expand All @@ -615,7 +625,7 @@ const FilesList = () => {
disabled={accountRestricted}
>
<PlusCircleIcon />
<span>
<span className={classes.buttonWrap}>
<Trans>New folder</Trans>
</span>
</Button>
Expand All @@ -627,7 +637,7 @@ const FilesList = () => {
disabled={accountRestricted}
>
<UploadIcon />
<span>
<span className={classes.buttonWrap}>
<Trans>Upload</Trans>
</span>
</Button>
Expand Down

0 comments on commit 1ef3ddb

Please sign in to comment.