From c27ce1749fc5cd1c8a29d3c5b997cc991b3a53fd Mon Sep 17 00:00:00 2001 From: giulianoconti Date: Wed, 2 Oct 2024 11:23:12 -0300 Subject: [PATCH 1/3] chains chart little fixes --- src/components/organisms/ChainActivity/Calendar.tsx | 1 + src/components/organisms/ChainActivity/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/organisms/ChainActivity/Calendar.tsx b/src/components/organisms/ChainActivity/Calendar.tsx index c38d1b09..a02a6c79 100644 --- a/src/components/organisms/ChainActivity/Calendar.tsx +++ b/src/components/organisms/ChainActivity/Calendar.tsx @@ -59,6 +59,7 @@ export const Calendar = ({ setStartDate(start); setEndDate(end); + setShowCalendar(false); }; const handleLast24Hours = () => setTimePeriod(1, "days", false, "24h"); diff --git a/src/components/organisms/ChainActivity/index.tsx b/src/components/organisms/ChainActivity/index.tsx index d627455a..bf0ecd7e 100644 --- a/src/components/organisms/ChainActivity/index.tsx +++ b/src/components/organisms/ChainActivity/index.tsx @@ -394,7 +394,7 @@ const ChainActivity = () => { setEndDate(new Date()); setStartDateDisplayed(initialDataDate); setEndDateDisplayed(new Date()); - setLastBtnSelected("all"); + setLastBtnSelected("year"); setShowAllSourceChains(true); setShowAllTargetChains(true); setSourceChainListSelected([ALL_SOURCE_CHAINS]); @@ -1035,14 +1035,14 @@ const ChainActivity = () => {
${ showAllSourceChains - ? "
" + ? "
" : "" } ${ metricSelected === "transactions" ? `Transfers Sum: ${formatNumber(totalY, 0)}` - : `Volume Sum: $${numberToSuffix(totalY)}` + : `Volume Sum: $${formatNumber(totalY, 0)}` }

Chains:

From ffcbf8ba7516424003518aa47db2487bd65518b3 Mon Sep 17 00:00:00 2001 From: giulianoconti Date: Wed, 2 Oct 2024 11:53:54 -0300 Subject: [PATCH 2/3] x labels fixed --- src/components/organisms/ChainActivity/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/ChainActivity/index.tsx b/src/components/organisms/ChainActivity/index.tsx index bf0ecd7e..cf5e64ae 100644 --- a/src/components/organisms/ChainActivity/index.tsx +++ b/src/components/organisms/ChainActivity/index.tsx @@ -179,7 +179,7 @@ const ChainActivity = () => { const tickAmount = allChainsSerie?.[0]?.data?.length > 0 ? isBigDesktop - ? Math.min(allChainsSerie[0].data.length, 19) + ? Math.min(allChainsSerie[0].data.length, 18) : isTablet ? Math.min(allChainsSerie[0].data.length, 10) : 4 From def050b87285d160eba96f6412aed06dddb6c827 Mon Sep 17 00:00:00 2001 From: giulianoconti Date: Wed, 2 Oct 2024 15:42:25 -0300 Subject: [PATCH 3/3] sankey bottom text fixed --- src/components/molecules/CrossChainChart/styles.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/molecules/CrossChainChart/styles.scss b/src/components/molecules/CrossChainChart/styles.scss index adeea53f..1edd9270 100644 --- a/src/components/molecules/CrossChainChart/styles.scss +++ b/src/components/molecules/CrossChainChart/styles.scss @@ -97,6 +97,11 @@ &.targetSelected { flex-direction: row-reverse; + + & .cross-chain-relative-pagination-message, + & .cross-chain-relative-pagination-mobile { + margin-left: unset; + } } & > .pagination {