Hide overflowing text in reader title if text can't be wrapped (#199)

This commit is contained in:
Valter Martinek
2022-11-24 21:05:18 +01:00
committed by GitHub
parent 7aa4d2f3de
commit 12cfc81aa8

View File

@@ -203,7 +203,7 @@ export default function ReaderNavBar(props: IProps) {
<KeyboardArrowLeftIcon /> <KeyboardArrowLeftIcon />
</IconButton> </IconButton>
)} )}
<Typography variant="h1"> <Typography variant="h1" textOverflow="ellipsis" overflow="hidden" sx={{ py: 1 }}>
{chapter.name} {chapter.name}
</Typography> </Typography>
<IconButton <IconButton