From f3904581e429a653afe9b1956576fc397b4dca74 Mon Sep 17 00:00:00 2001 From: Max Alekseenko Date: Wed, 22 May 2024 17:23:29 +0200 Subject: [PATCH] fix different heights of components with a chart --- ui/home/indicators/ChainIndicators.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/home/indicators/ChainIndicators.tsx b/ui/home/indicators/ChainIndicators.tsx index b1ce2bf583..5b6381cd07 100644 --- a/ui/home/indicators/ChainIndicators.tsx +++ b/ui/home/indicators/ChainIndicators.tsx @@ -1,4 +1,4 @@ -import { Box, Flex, Skeleton, Text, useColorModeValue } from '@chakra-ui/react'; +import { Flex, Skeleton, Text, useColorModeValue } from '@chakra-ui/react'; import React from 'react'; import config from 'configs/app'; @@ -76,7 +76,7 @@ const ChainIndicators = () => { const diffColor = diff >= 0 ? 'green.500' : 'red.500'; return ( - + { diff }% @@ -101,10 +101,10 @@ const ChainIndicators = () => { { indicator?.title } { indicator?.hint && } - + { valueTitle } { valueDiff } - + { indicators.length > 1 && (