more formatting

This commit is contained in:
Christopher committed 2021-03-02 20:45:41 +01:00
1 parent 046447b0fb
commit f552c1212c
157 files changed
+635 -1579

No files matched your search

+4 -6
View File
@@ -25,7 +25,7 @@ const useStyles = makeStyles<Theme, { color: string; backgroundColor: string }>(
tooltip: {
fontSize: 12,
},
})
}),
);
export const AppIcon = ({
@@ -48,19 +48,17 @@ export const AppIcon = ({
arrow
key={id}
title={t(nameLocale)}
placement='top'
placement="top"
classes={{ tooltip: classes.tooltip }}
TransitionComponent={Zoom}
>
<Button className={classes.root}>
<Badge
color='error'
color="error"
badgeContent={notification?.badge}
invisible={!notification || notification.badge < 2}
>
<Avatar className={classes.avatar}>
{icon || name[0].toUpperCase()}
</Avatar>
<Avatar className={classes.avatar}>{icon || name[0].toUpperCase()}</Avatar>
</Badge>
</Button>
</Tooltip>