Commit 521057df authored by tom's avatar tom

add skeleton for graph title on home page

parent edd30e9a
...@@ -126,10 +126,10 @@ const ChainIndicators = () => { ...@@ -126,10 +126,10 @@ const ChainIndicators = () => {
alignItems="stretch" alignItems="stretch"
> >
<Flex flexGrow={ 1 } flexDir="column"> <Flex flexGrow={ 1 } flexDir="column">
<Flex alignItems="center"> <Skeleton loading={ isPlaceholderData } display="flex" alignItems="center" w="fit-content" columnGap={ 1 }>
<Text fontWeight={ 500 }>{ title }</Text> <Text fontWeight={ 500 }>{ title }</Text>
{ hint && <Hint label={ hint } ml={ 1 }/> } { hint && <Hint label={ hint }/> }
</Flex> </Skeleton>
<Flex mb={{ base: 0, lg: 2 }} mt={ 1 } alignItems="end"> <Flex mb={{ base: 0, lg: 2 }} mt={ 1 } alignItems="end">
{ valueTitle } { valueTitle }
{ valueDiff } { valueDiff }
......
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