Update style for inventory without meta

pull/268/head
artemkolodko 2 years ago
parent 171421ee55
commit d9f50aba31
  1. 8
      src/pages/AddressPage/tabs/inventory/InventoryItem.tsx

@ -124,8 +124,8 @@ export function InventoryItem(props: IInventoryItemProps) {
align={"center"}
>
<Image src={HarmonyLogo} />
<Box style={{ position: 'absolute' }}>
<Text style={{ opacity: 0.7 }}>No Image</Text>
<Box style={{ position: 'absolute', bottom: '8px' }}>
<Text style={{ opacity: 0.5 }}>No Image</Text>
</Box>
</ErrorPreview>
) : url ? (
@ -146,8 +146,8 @@ export function InventoryItem(props: IInventoryItemProps) {
align={"center"}
>
<Image src={HarmonyLogo} />
<Box style={{ position: 'absolute' }}>
<Text style={{ opacity: 0.7 }}>No Image</Text>
<Box style={{ position: 'absolute', bottom: '8px' }}>
<Text style={{ opacity: 0.5 }}>No Image</Text>
</Box>
</EmptyPreview>
)}

Loading…
Cancel
Save