optimize upload dialog UX

This commit is contained in:
Songyi Huang 2020-12-12 23:56:00 -08:00
parent 136643f0ac
commit dcb59d178e
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ const drawerWidth = 250;
const useStyles = makeStyles((theme) => ({ const useStyles = makeStyles((theme) => ({
uploadNoteRoot: { uploadNoteRoot: {
maxWidth: "400px", maxWidth: "358px",
color: "#E6A23C", color: "#E6A23C",
backgroundColor: "#fdf6ec", backgroundColor: "#fdf6ec",
}, },
@ -282,7 +282,7 @@ function MenuBar (props) {
<Loading loading={uploadDialogLoading}> <Loading loading={uploadDialogLoading}>
<DialogTitle id="form-dialog-title">Upload Model</DialogTitle> <DialogTitle id="form-dialog-title">Upload Model</DialogTitle>
<DialogContent> <DialogContent>
<Card className={classes.uploadNoteRoot}> <Card variant="outlined" className={classes.uploadNoteRoot}>
<CardContent style={{paddingBottom: "16px"}}> <CardContent style={{paddingBottom: "16px"}}>
<Typography className={classes.title} color="textSecondary" gutterBottom> <Typography className={classes.title} color="textSecondary" gutterBottom>
<HelpIcon style={{marginRight: "5px"}} />Note <HelpIcon style={{marginRight: "5px"}} />Note