Skip to content

Commit a89ad8b

Browse files
committed
feat: add overflow tooltip for feed title
Signed-off-by: Innei <i@innei.in>
1 parent 5ef516f commit a89ad8b

File tree

1 file changed

+3
-2
lines changed
  • apps/renderer/src/modules/settings/tabs

1 file changed

+3
-2
lines changed

apps/renderer/src/modules/settings/tabs/feeds.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
TableHeader,
1414
TableRow,
1515
} from "~/components/ui/table"
16+
import { EllipsisHorizontalTextWithTooltip } from "~/components/ui/typography"
1617
import { useAuthQuery } from "~/hooks/common"
1718
import { Balance } from "~/modules/wallet/balance"
1819
import { Queries } from "~/queries"
@@ -57,9 +58,9 @@ export const SettingFeeds = () => {
5758
className="flex items-center"
5859
>
5960
<FeedIcon fallback feed={row.feed} size={16} />
60-
<span className="inline-block max-w-[200px] truncate">
61+
<EllipsisHorizontalTextWithTooltip className="inline-block max-w-[200px] truncate">
6162
{row.feed.title}
62-
</span>
63+
</EllipsisHorizontalTextWithTooltip>
6364
</a>
6465
</TableCell>
6566
<TableCell align="center" className="tabular-nums" size="sm">

0 commit comments

Comments
 (0)