feat: limit tooltip max width

This commit is contained in:
QiShaoXuan
2023-01-30 18:28:16 +08:00
parent 56d43fb88a
commit bf6545af7a

View File

@@ -5,6 +5,7 @@ import type { TooltipProps } from '@mui/material';
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
return {
maxWidth: '320px',
boxShadow: theme.shadow.tooltip,
padding: '4px 12px',
backgroundColor: theme.colors.tooltipBackground,