Skip to content

Commit

Permalink
fix: don't overflow on latest downlods
Browse files Browse the repository at this point in the history
  • Loading branch information
oae committed Nov 3, 2022
1 parent 5f01bd1 commit 52ca56b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ function HistoryItemTitle({ chapter }: { chapter: HistoryItemType }) {
const { classes } = useStyles();
return (
<Grid gutter={5}>
<Grid.Col span="content" style={{ maxWidth: 180, whiteSpace: 'nowrap', overflow: 'hidden' }}>
<Text weight={600}>{chapter.manga.title}</Text>
<Grid.Col span="content" style={{ maxWidth: 160, whiteSpace: 'nowrap', overflow: 'hidden' }}>
<Tooltip inline label={chapter.manga.title} position="right" withinPortal withArrow>
<Text weight={600}>{chapter.manga.title}</Text>
</Tooltip>
</Grid.Col>
<Grid.Col span="auto">
<Divider mt="xs" variant="dotted" />
Expand Down

0 comments on commit 52ca56b

Please sign in to comment.