fix pool address truncation

This commit is contained in:
isstuev
2024-12-19 13:45:42 +01:00
parent d883e45a71
commit 4445541790
2 changed files with 9 additions and 4 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ const PoolsTable = ({ items, page, isLoading, top }: Props) => {
<Tr>
<Th width="70%">Pool</Th>
<Th width="30%">DEX </Th>
<Th width="120px" isNumeric>
<Th width="130px" isNumeric>
<Flex alignItems="center" justifyContent="end">
FDV
<Hint
@@ -33,8 +33,8 @@ const PoolsTable = ({ items, page, isLoading, top }: Props) => {
/>
</Flex>
</Th>
<Th width="120px" isNumeric>Market cap</Th>
<Th width="120px" isNumeric>Liquidity</Th>
<Th width="130px" isNumeric>Market cap</Th>
<Th width="130px" isNumeric>Liquidity</Th>
<Th width="75px" isNumeric>View in</Th>
</Tr>
</Thead>
+6 -1
View File
@@ -33,7 +33,12 @@ const PoolsTableItem = ({
</Skeleton>
<Box>
<PoolEntity pool={ item } fontWeight={ 700 } mb={ 2 } isLoading={ isLoading }/>
<AddressEntity address={{ hash: item.contract_address }} noIcon isLoading={ isLoading }/>
<AddressEntity
address={{ hash: item.contract_address }}
noIcon
isLoading={ isLoading }
truncation="constant_long"
/>
</Box>
</Flex>
</Td>