Commit 327d92c1 authored by tom's avatar tom

more refinements

parent 92e42940
...@@ -29,7 +29,7 @@ const RawDataSnippet = ({ data, className, title, rightSlot, beforeSlot, textare ...@@ -29,7 +29,7 @@ const RawDataSnippet = ({ data, className, title, rightSlot, beforeSlot, textare
{ beforeSlot } { beforeSlot }
<Skeleton <Skeleton
p={ 4 } p={ 4 }
bgColor={ bgColor } bgColor={ isLoading ? 'inherit' : bgColor }
maxH={ textareaMaxHeight || '400px' } maxH={ textareaMaxHeight || '400px' }
minH={ isLoading ? '200px' : undefined } minH={ isLoading ? '200px' : undefined }
fontSize="sm" fontSize="sm"
......
...@@ -52,7 +52,7 @@ const TokenTransferTableItem = ({ ...@@ -52,7 +52,7 @@ const TokenTransferTableItem = ({
</Grid> </Grid>
</Td> </Td>
<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 || '' }> <TruncatedTextTooltip label={ method || '' }>
{ method ? <Tag> { method } </Tag> : '-' } { method ? <Tag> { method } </Tag> : '-' }
</TruncatedTextTooltip> </TruncatedTextTooltip>
...@@ -109,7 +109,7 @@ const TokenTransferTableItem = ({ ...@@ -109,7 +109,7 @@ const TokenTransferTableItem = ({
) } ) }
{ (token.type === 'ERC-20' || token.type === 'ERC-1155') && ( { (token.type === 'ERC-20' || token.type === 'ERC-1155') && (
<Td isNumeric verticalAlign="top"> <Td isNumeric verticalAlign="top">
<Skeleton isLoaded={ !isLoading } py="7px"> <Skeleton isLoaded={ !isLoading } my="7px">
{ value || '-' } { value || '-' }
</Skeleton> </Skeleton>
</Td> </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