Commit 327d92c1 authored by tom's avatar tom

more refinements

parent 92e42940
......@@ -29,7 +29,7 @@ const RawDataSnippet = ({ data, className, title, rightSlot, beforeSlot, textare
{ beforeSlot }
<Skeleton
p={ 4 }
bgColor={ bgColor }
bgColor={ isLoading ? 'inherit' : bgColor }
maxH={ textareaMaxHeight || '400px' }
minH={ isLoading ? '200px' : undefined }
fontSize="sm"
......
......@@ -52,7 +52,7 @@ const TokenTransferTableItem = ({
</Grid>
</Td>
<Td>
<Skeleton isLoaded={ !isLoading } display="inline-block" borderRadius="sm" maxW="100%" py="3px">
<Skeleton isLoaded={ !isLoading } display="inline-block" borderRadius="sm" maxW="100%" my="3px">
<TruncatedTextTooltip label={ method || '' }>
{ method ? <Tag> { method } </Tag> : '-' }
</TruncatedTextTooltip>
......@@ -109,7 +109,7 @@ const TokenTransferTableItem = ({
) }
{ (token.type === 'ERC-20' || token.type === 'ERC-1155') && (
<Td isNumeric verticalAlign="top">
<Skeleton isLoaded={ !isLoading } py="7px">
<Skeleton isLoaded={ !isLoading } my="7px">
{ value || '-' }
</Skeleton>
</Td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment