feature: clickableCell left space should be inside the border

This commit is contained in:
Sammy Teillet
2023-04-19 16:19:35 +02:00
parent acf190cd5c
commit 74990a3686
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ type OwnProps = {
};
const Container = styled.span`
margin-left: ${(props) => props.theme.spacing(2)};
padding-left: ${(props) => props.theme.spacing(2)};
`;
function ClickableCell({ href, children }: OwnProps) {
+4 -6
View File
@@ -113,12 +113,10 @@ const columns = [
id={`person-selected-${props.row.original.email}`}
name={`person-selected${props.row.original.email}`}
/>
<ClickableCell href="#">
<PersonChip
name={props.row.original.fullName}
picture={props.row.original.picture}
/>
</ClickableCell>
<PersonChip
name={props.row.original.fullName}
picture={props.row.original.picture}
/>
</HorizontalyAlignedContainer>
),
}),