Skip to content

Commit 69135cd

Browse files
author
Vivek Vishal
authored
fix small screen styles
Signed-off-by: Vivek Vishal <[email protected]>
1 parent 0fd31c7 commit 69135cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/custom/ChapterCard/style.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ALABASTER_WHITE, MIDNIGHT_BLACK } from '../../theme';
55
export const ChapterCardWrapper = styled('div')(({ theme }) => ({
66
transition: '0.8s cubic-bezier(0.2, 0.8, 0.2, 1)',
77
padding: '1rem 1.25rem',
8-
width: '64rem',
8+
width: '100%',
99
backgroundColor: theme.palette.mode === 'light' ? ALABASTER_WHITE : MIDNIGHT_BLACK,
1010
display: 'flex',
1111
border: `1px solid ${
@@ -53,7 +53,7 @@ export const ChapterDescription = styled('div')({
5353
},
5454
'@media screen and (max-width: 650px) and (min-width: 300px)': {
5555
p: {
56-
width: '68vw'
56+
width: '9rem'
5757
}
5858
}
5959
});

0 commit comments

Comments
 (0)