From 058038d84eb6e67a28d6f1a8721aeed8c448f518 Mon Sep 17 00:00:00 2001 From: Kyrylo Shmidt Date: Mon, 5 Aug 2024 11:25:21 +0200 Subject: [PATCH] Update styles --- .../EnvironmentSelector/EnvironmentChip/styles.ts | 2 +- .../Insights/InsightsCatalog/FilterPanel/FilterChip/index.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Insights/InsightsCatalog/EnvironmentSelector/EnvironmentChip/styles.ts b/src/components/Insights/InsightsCatalog/EnvironmentSelector/EnvironmentChip/styles.ts index 2eb8df3dc..37eca2af5 100644 --- a/src/components/Insights/InsightsCatalog/EnvironmentSelector/EnvironmentChip/styles.ts +++ b/src/components/Insights/InsightsCatalog/EnvironmentSelector/EnvironmentChip/styles.ts @@ -52,7 +52,7 @@ export const Counter = styled.div` case ISSUE_CRITICALITY.LOW: default: return css` - background: ${({ theme }) => theme.colors.v3.status.low}; + background: ${({ theme }) => theme.colors.v3.status.backgroundLow}; `; } }} diff --git a/src/components/Insights/InsightsCatalog/FilterPanel/FilterChip/index.tsx b/src/components/Insights/InsightsCatalog/FilterPanel/FilterChip/index.tsx index 7967f53ad..ec5d89a2e 100644 --- a/src/components/Insights/InsightsCatalog/FilterPanel/FilterChip/index.tsx +++ b/src/components/Insights/InsightsCatalog/FilterPanel/FilterChip/index.tsx @@ -36,7 +36,9 @@ export const FilterChip = ({ return ( - {label} + + {label} + {isNumber(count) ? ( {count} ) : (