feat: limit tooltip max width
This commit is contained in:
1 parent
56d43fb88a
commit
bf6545af7a
1 file changed
+1
@@ -5,6 +5,7 @@ import type { TooltipProps } from '@mui/material';
|
|||||||
|
|
||||||
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
|
const StyledTooltip = styled(StyledPopperContainer)(({ theme }) => {
|
||||||
return {
|
return {
|
||||||
|
maxWidth: '320px',
|
||||||
boxShadow: theme.shadow.tooltip,
|
boxShadow: theme.shadow.tooltip,
|
||||||
padding: '4px 12px',
|
padding: '4px 12px',
|
||||||
backgroundColor: theme.colors.tooltipBackground,
|
backgroundColor: theme.colors.tooltipBackground,
|
||||||
|
|||||||
Reference in new issue
Block a user