fix: update borderRadius type casting for consistency across components

This commit is contained in:
OlgunR 2025-11-24 12:00:39 +01:00
parent 364c67f3ad
commit a07a911ea9
3 changed files with 3 additions and 3 deletions

View File

@ -44,5 +44,5 @@ const ChartRoot = styled('div')(({ theme }) => ({
width: '100%',
flexShrink: 0,
position: 'relative',
borderRadius: theme.shape.borderRadius * 1.5,
borderRadius: theme.shape.borderRadius as any * 1.5,
}));

View File

@ -100,7 +100,7 @@ export const LabelRoot = styled('span', {
padding: theme.spacing(0, 0.75),
fontSize: theme.typography.pxToRem(12),
fontWeight: theme.typography.fontWeightBold,
borderRadius: theme.shape.borderRadius * 0.75,
borderRadius: theme.shape.borderRadius as any * 0.75,
transition: theme.transitions.create(['all'], { duration: theme.transitions.duration.shorter }),
...defaultStyles,
...colorStyles,

View File

@ -42,7 +42,7 @@ const MuiCard: Components<Theme>['MuiCard'] = {
zIndex: 0,
position: 'relative',
boxShadow: theme.vars.customShadows.card,
borderRadius: theme.shape.borderRadius * 2,
borderRadius: theme.shape.borderRadius as any * 2,
}),
},
};