Fixed bugs in ViewBar filtering (#7608)

- Fixed CSS for SortOrFilter chips
- Fixed bug when refreshing with an actor source filter set

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2024-10-11 20:25:15 +02:00
committed by GitHub
parent 7b96be6f8c
commit fef3d32237
5 changed files with 108 additions and 98 deletions

View File

@ -39,9 +39,11 @@ const StyledChip = styled.div<{ variant: SortOrFitlerChipVariant }>`
flex-shrink: 0;
font-size: ${({ theme }) => theme.font.size.sm};
font-weight: ${({ theme }) => theme.font.weight.medium};
padding: ${({ theme }) => theme.spacing(1) + ' ' + theme.spacing(2)};
padding: ${({ theme }) => theme.spacing(0.5) + ' ' + theme.spacing(2)};
user-select: none;
white-space: nowrap;
max-height: ${({ theme }) => theme.spacing(4.5)};
`;
const StyledIcon = styled.div`

View File

@ -50,7 +50,6 @@ const StyledChipcontainer = styled.div`
overflow: scroll;
gap: ${({ theme }) => theme.spacing(1)};
padding-top: ${({ theme }) => theme.spacing(1)};
padding-bottom: ${({ theme }) => theme.spacing(0.5)};
z-index: 1;
`;