Skip to content

Commit 4dc5991

Browse files
author
Kien Ngo
authored
Add text overflow to NFT table (#2086)
Add text overflow
1 parent b5ab0cb commit 4dc5991

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contract-ui/tabs/nfts/components/table.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ export const NFTGetAllTable: React.FC<ContractOverviewNFTGetAllProps> = ({
6464
Header: "Name",
6565
accessor: (row) => row.metadata.name,
6666
Cell: (cell: CellProps<NFT, string>) => (
67-
<Text size="label.md">{cell.value}</Text>
67+
<Text noOfLines={1} size="label.md">
68+
{cell.value}
69+
</Text>
6870
),
6971
},
7072
{

0 commit comments

Comments
 (0)