Skip to content

Commit 99303a6

Browse files
kgabryjePawankumarES
authored andcommitted
fix(native-filters): Don't include description icon in truncation calc (apache#22941)
1 parent 1a43a72 commit 99303a6

File tree

1 file changed

+2
-2
lines changed
  • superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls

1 file changed

+2
-2
lines changed

superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControl.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ const VerticalFilterControlTitle = styled.h4`
4949
const HorizontalFilterControlTitle = styled(VerticalFilterControlTitle)`
5050
font-weight: ${({ theme }) => theme.typography.weights.normal};
5151
color: ${({ theme }) => theme.colors.grayscale.base};
52-
${truncationCSS}
52+
max-width: ${({ theme }) => theme.gridUnit * 15}px;
53+
${truncationCSS};
5354
`;
5455

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

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

7474
const HorizontalOverflowFilterControlTitleBox = styled(

0 commit comments

Comments
 (0)