remove comments, render nicer on mobiles

This commit is contained in:
Proddy
2022-05-03 22:20:55 +02:00
parent 8e65e31ed6
commit 501726c6ad
6 changed files with 26 additions and 41 deletions

View File

@@ -32,7 +32,6 @@ const MessageBox: FC<MessageBoxProps> = ({ level, message, sx, children, ...rest
const theme = useTheme();
const Icon = LEVEL_ICONS[level];
const backgroundColor = LEVEL_BACKGROUNDS[level](theme);
// const color = theme.palette.getContrastText(backgroundColor);
const color = 'white';
return (
<Box p={2} display="flex" alignItems="center" borderRadius={1} sx={{ backgroundColor, color, ...sx }} {...rest}>