fix: update borderRadius type casting for consistency across components
This commit is contained in:
parent
364c67f3ad
commit
a07a911ea9
@ -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,
|
||||
}));
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user