From 742527dbf27b25a42dbbd3210c57acc11257c311 Mon Sep 17 00:00:00 2001 From: Renan Ferreira Date: Mon, 15 Apr 2024 10:49:05 -0300 Subject: [PATCH] fix(core): apply negative balance only for pending tx --- .../ui/components/Activity/AssetActivityItem.module.scss | 6 +++++- .../core/src/ui/components/Activity/AssetActivityItem.tsx | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/core/src/ui/components/Activity/AssetActivityItem.module.scss b/packages/core/src/ui/components/Activity/AssetActivityItem.module.scss index d483d98a6..9fb039540 100644 --- a/packages/core/src/ui/components/Activity/AssetActivityItem.module.scss +++ b/packages/core/src/ui/components/Activity/AssetActivityItem.module.scss @@ -124,10 +124,14 @@ } } -.negativeBalance { +.pendingNegativeBalance { color: var(--data-orange); } .positiveBalance { color: var(--data-green); } + +.negativeBalance { + color: var(--text-color-primary); +} diff --git a/packages/core/src/ui/components/Activity/AssetActivityItem.tsx b/packages/core/src/ui/components/Activity/AssetActivityItem.tsx index 3cfc6cd2b..ba2e441fe 100644 --- a/packages/core/src/ui/components/Activity/AssetActivityItem.tsx +++ b/packages/core/src/ui/components/Activity/AssetActivityItem.tsx @@ -202,8 +202,9 @@ export const AssetActivityItem = ({