Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit 52ca56b

Browse files
committed
fix: don't overflow on latest downlods
1 parent 5f01bd1 commit 52ca56b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/navbar.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ function HistoryItemTitle({ chapter }: { chapter: HistoryItemType }) {
8888
const { classes } = useStyles();
8989
return (
9090
<Grid gutter={5}>
91-
<Grid.Col span="content" style={{ maxWidth: 180, whiteSpace: 'nowrap', overflow: 'hidden' }}>
92-
<Text weight={600}>{chapter.manga.title}</Text>
91+
<Grid.Col span="content" style={{ maxWidth: 160, whiteSpace: 'nowrap', overflow: 'hidden' }}>
92+
<Tooltip inline label={chapter.manga.title} position="right" withinPortal withArrow>
93+
<Text weight={600}>{chapter.manga.title}</Text>
94+
</Tooltip>
9395
</Grid.Col>
9496
<Grid.Col span="auto">
9597
<Divider mt="xs" variant="dotted" />

0 commit comments

Comments
 (0)