Limit lines of chapter name of update cards

This commit is contained in:
schroda
2024-05-22 23:28:16 +02:00
parent 857b0204d3
commit 5cfa6d8445

View File

@@ -212,10 +212,15 @@ export const Updates: React.FC = () => {
<Box sx={{ display: 'flex', flexDirection: 'column' }}>
<TypographyMaxLines variant="h5" component="h2">
{manga.title}
<Typography variant="caption" display="block" gutterBottom>
</TypographyMaxLines>
<TypographyMaxLines
variant="caption"
display="block"
gutterBottom
lines={1}
>
{chapter.name}
</Typography>
</TypographyMaxLines>
</Box>
</Box>
{download && <DownloadStateIndicator download={download} />}