{renderIcon(item)}
</Grid>
<Grid item>
- <Typography color="primary">
+ <Typography color="primary" style={{ width: '450px' }}>
{item.name}
</Typography>
</Grid>
};
export const renderDate = (date?: string) => {
- return <Typography noWrap>{formatDate(date)}</Typography>;
+ return <Typography noWrap style={{ minWidth: '100px' }}>{formatDate(date)}</Typography>;
};
export const ResourceLastModifiedDate = connect(
})((props: { date: string }) => renderDate(props.date));
export const renderFileSize = (fileSize?: number) =>
- <Typography noWrap>
+ <Typography noWrap style={{ minWidth: '45px' }}>
{formatFileSize(fileSize)}
</Typography>;