UI - Use flex properties for issues cell (#14967)

Instead of less flexible `margin`

- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
Jacob Shandling
2023-11-07 09:16:52 -08:00
committed by GitHub
co-authored by Jacob Shandling
parent 4b25709081
commit cc129d61b1
2 changed files with 2 additions and 5 deletions
@@ -40,7 +40,7 @@ const IssueCell = ({ issues, rowId }: IIssueCellProps<any>): JSX.Element => {
Failing policies ({issues.failing_policies_count})
</span>
</ReactTooltip>
<span className={`total-issues-count`}>{issues.total_issues_count}</span>
{issues.total_issues_count}
</>
);
};
@@ -223,6 +223,7 @@
&__cell {
display: flex;
align-items: center;
gap: $pad-small;
.issue-cell__icon {
display: flex;
align-items: center;
@@ -291,10 +292,6 @@
padding-bottom: $pad-large;
}
.total-issues-count {
margin-left: $pad-small;
}
&__export-btn {
margin-left: $pad-medium;