Skip to content

Commit

Permalink
LF-4612c Fix margin on icons without checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
kathyavini committed Dec 12, 2024
1 parent 1a60bdb commit 23581ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
display: flex;
align-items: center;
gap: 8px;
margin-left: -12px;
}

.photoUrl,
Expand Down
6 changes: 5 additions & 1 deletion packages/webapp/src/components/Table/TableV2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,11 @@ export default function TableV2(props) {
return (
<TableCell
key={id}
className={clsx(styles.tableCell, dense && styles.dense)}
className={clsx(
styles.tableCell,
dense && styles.dense,
shouldShowCheckbox && id === 'identification' && styles.afterCheckbox,
)}
align={align || 'left'}
{...columnProps}
>
Expand Down
4 changes: 4 additions & 0 deletions packages/webapp/src/components/Table/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@
padding: 0 12px;
height: 40px;
}

&.afterCheckbox > div:first-child {
margin-left: -12px;
}
}

.loadMoreCell {
Expand Down

0 comments on commit 23581ce

Please sign in to comment.