Limit lines of chapter name of update cards
This commit is contained in:
@@ -212,10 +212,15 @@ export const Updates: React.FC = () => {
|
|||||||
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
|
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
|
||||||
<TypographyMaxLines variant="h5" component="h2">
|
<TypographyMaxLines variant="h5" component="h2">
|
||||||
{manga.title}
|
{manga.title}
|
||||||
<Typography variant="caption" display="block" gutterBottom>
|
|
||||||
</TypographyMaxLines>
|
</TypographyMaxLines>
|
||||||
|
<TypographyMaxLines
|
||||||
|
variant="caption"
|
||||||
|
display="block"
|
||||||
|
gutterBottom
|
||||||
|
lines={1}
|
||||||
|
>
|
||||||
{chapter.name}
|
{chapter.name}
|
||||||
</Typography>
|
</TypographyMaxLines>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
{download && <DownloadStateIndicator download={download} />}
|
{download && <DownloadStateIndicator download={download} />}
|
||||||
|
|||||||
Reference in New Issue
Block a user