Skip to content

Commit

Permalink
fixed view on small screen
Browse files Browse the repository at this point in the history
  • Loading branch information
kfirpeled committed May 19, 2022
1 parent 05b94af commit d92c76c
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import {
EuiEmptyPrompt,
EuiBasicTable,
EuiTextColor,
EuiFlexGroup,
EuiFlexItem,
type EuiTableFieldDataColumnType,
type CriteriaWithPagination,
type Pagination,
Expand Down Expand Up @@ -133,16 +131,12 @@ const columns: Array<EuiTableFieldDataColumnType<CspFindingsByResource>> = [
},
})}
>
<EuiFlexGroup gutterSize="xs">
<EuiFlexItem grow={false}>
<EuiTextColor color={failedFindings.count === 0 ? '' : 'danger'}>
{formatNumber(failedFindings.count)}
</EuiTextColor>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<span>({numeral(failedFindings.normalized).format('0%')})</span>
</EuiFlexItem>
</EuiFlexGroup>
<>
<EuiTextColor color={failedFindings.count === 0 ? '' : 'danger'}>
{formatNumber(failedFindings.count)}
</EuiTextColor>
<span> ({numeral(failedFindings.normalized).format('0%')})</span>
</>
</EuiToolTip>
),
},
Expand Down

0 comments on commit d92c76c

Please sign in to comment.