Skip to content

Commit

Permalink
fix(native-filters): Don't include description icon in truncation calc (
Browse files Browse the repository at this point in the history
  • Loading branch information
kgabryje committed Feb 3, 2023
1 parent 4970df0 commit 32d4977
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const VerticalFilterControlTitle = styled.h4`
const HorizontalFilterControlTitle = styled(VerticalFilterControlTitle)`
font-weight: ${({ theme }) => theme.typography.weights.normal};
color: ${({ theme }) => theme.colors.grayscale.base};
${truncationCSS}
max-width: ${({ theme }) => theme.gridUnit * 15}px;
${truncationCSS};
`;

const HorizontalOverflowFilterControlTitle = styled(
Expand All @@ -68,7 +69,6 @@ const VerticalFilterControlTitleBox = styled.div`

const HorizontalFilterControlTitleBox = styled(VerticalFilterControlTitleBox)`
margin-bottom: unset;
max-width: ${({ theme }) => theme.gridUnit * 15}px;
`;

const HorizontalOverflowFilterControlTitleBox = styled(
Expand Down

0 comments on commit 32d4977

Please sign in to comment.