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

View File

@ -8,7 +8,7 @@ type OwnProps = {
}; };
const Container = styled.span` const Container = styled.span`
margin-left: ${(props) => props.theme.spacing(2)}; padding-left: ${(props) => props.theme.spacing(2)};
`; `;
function ClickableCell({ href, children }: OwnProps) { function ClickableCell({ href, children }: OwnProps) {

View File

@ -113,12 +113,10 @@ const columns = [
id={`person-selected-${props.row.original.email}`} id={`person-selected-${props.row.original.email}`}
name={`person-selected${props.row.original.email}`} name={`person-selected${props.row.original.email}`}
/> />
<ClickableCell href="#"> <PersonChip
<PersonChip name={props.row.original.fullName}
name={props.row.original.fullName} picture={props.row.original.picture}
picture={props.row.original.picture} />
/>
</ClickableCell>
</HorizontalyAlignedContainer> </HorizontalyAlignedContainer>
), ),
}), }),