Skip to content

Commit 294b193

Browse files
committed
set new sizing for collectible tile network icon
1 parent 09b22fc commit 294b193

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/wallet-widget/src/components/SearchLists/CollectiblesList/CollectibleTile.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import { NetworkImage } from '@0xsequence/design-system'
12
import { useGetTokenMetadata } from '@0xsequence/hooks'
23

34
import { TokenBalanceWithPrice } from '../../../utils'
45
import { CollectibleTileImage } from '../../CollectibleTileImage'
5-
import { NetworkImage } from '@0xsequence/design-system'
66

7-
const NETWORK_IMAGE_SIZE = '32px'
7+
const NETWORK_IMAGE_SIZE = '15%'
8+
const NETWORK_IMAGE_OFFSET = '2%'
89

910
interface CollectibleTileProps {
1011
balance: TokenBalanceWithPrice
@@ -33,8 +34,8 @@ export const CollectibleTile = ({ balance, onTokenClick }: CollectibleTileProps)
3334
style={{
3435
width: NETWORK_IMAGE_SIZE,
3536
height: NETWORK_IMAGE_SIZE,
36-
right: '2px',
37-
bottom: '2px'
37+
right: NETWORK_IMAGE_OFFSET,
38+
bottom: NETWORK_IMAGE_OFFSET
3839
}}
3940
/>
4041
</div>

0 commit comments

Comments
 (0)