Skip to content

Commit 597af1a

Browse files
committed
fix: action card maxwidth
Signed-off-by: amitamrutiya <amitamrutiya2210@gmail.com>
1 parent a2c03f3 commit 597af1a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/custom/DashboardWidgets/GettingStartedWidget/ActionButtonCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ const ContentWrapper = styled(Box)({
5555
flexDirection: 'column'
5656
});
5757

58-
const DescriptionTypography = styled(Typography)<{ maxWidth?: string }>(({ maxWidth }) => ({
59-
marginLeft: 8,
60-
marginBottom: 8,
58+
const DescriptionTypography = styled(Typography)<{ maxWidth?: string }>(({ theme, maxWidth }) => ({
59+
marginLeft: theme.spacing(1),
60+
marginBottom: theme.spacing(1),
6161
minHeight: '4.5rem',
62-
'@media (min-width: 475px) and (max-width: 1200px)': {
62+
[theme.breakpoints.between('sm', 'lg')]: {
6363
maxWidth: maxWidth || '100%'
6464
}
6565
}));

0 commit comments

Comments
 (0)