Merge pull request #71 from twentyhq/cbo-design-fixes

Fix small design feedbacks
This commit is contained in:
Charles Bochet
2023-04-25 12:16:34 +02:00
committed by GitHub
9 changed files with 20 additions and 12 deletions

View File

@ -33,6 +33,10 @@ const StyledTableHeader = styled.div`
const StyledIcon = styled.div`
display: flex;
margin-right: ${(props) => props.theme.spacing(2)};
& > svg {
font-size: ${(props) => props.theme.fontSizeLarge};
}
`;
const StyledViewSection = styled.div`
@ -75,7 +79,7 @@ function TableHeader({
<StyledTableHeader>
<StyledViewSection>
<StyledIcon>
{viewIcon && <FontAwesomeIcon icon={viewIcon} size="lg" />}
{viewIcon && <FontAwesomeIcon icon={viewIcon} />}
</StyledIcon>
{viewName}
</StyledViewSection>