Skip to content

Commit 28e2f09

Browse files
author
Vivek Vishal
authored
rm fixed width in smaller screen
Signed-off-by: Vivek Vishal <vishalvivek488@gmail.com>
1 parent 69135cd commit 28e2f09

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/custom/ChapterCard/style.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,9 @@ export const ChapterDescription = styled('div')({
4545
},
4646
'@media screen and (max-width: 650px)': {
4747
p: {
48-
whiteSpace: 'nowrap',
48+
whiteSpace: 'normal',
4949
overflow: 'hidden',
50-
textOverflow: 'ellipsis',
51-
width: '75vw'
52-
}
53-
},
54-
'@media screen and (max-width: 650px) and (min-width: 300px)': {
55-
p: {
56-
width: '9rem'
50+
textOverflow: 'ellipsis'
5751
}
5852
}
5953
});

0 commit comments

Comments
 (0)