Skip to content

Commit 07e3a60

Browse files
authored
Merge pull request #1114 from FaheemOnHub/fix/learningCard/overflow
fix: academy learning cards overflow on smaller screens.
2 parents bffc64c + 4083428 commit 07e3a60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/custom/LearningCard/style.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import { styled } from '@mui/material/styles';
22
import { BLACK, ONYX_BLACK, SILVER_GRAY, WHITE } from '../../theme';
33

44
const CardWrapper = styled('div')({
5-
width: '28rem',
5+
maxWidth: '28rem',
6+
minWidth: '10rem',
67
height: '16rem',
78
margin: 'auto',
89
borderRadius: '1rem'

0 commit comments

Comments
 (0)