diff --git a/x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx b/x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx index cb3d0c3527c57..2db04c6f6ebff 100644 --- a/x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx +++ b/x-pack/plugins/cloud_security_posture/public/components/csp_counter_card.tsx @@ -18,6 +18,17 @@ export interface CspCounterCardProps { description: EuiStatProps['description']; } +// Todo: remove when EuiIcon type="pivot" is available +const PivotIcon = ({ ...props }) => ( + + + +); + export const CspCounterCard = (counter: CspCounterCardProps) => { const { euiTheme } = useEuiTheme(); @@ -46,6 +57,7 @@ export const CspCounterCard = (counter: CspCounterCardProps) => { justifyContent: 'space-around', '.euiText h6': { textTransform: 'capitalize', + fontSize: euiTheme.size.m, }, }} titleSize="s" @@ -56,8 +68,10 @@ export const CspCounterCard = (counter: CspCounterCardProps) => { /> {counter.onClick && (