mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
fix(native-filters): Don't include description icon in truncation calc (#22941)
This commit is contained in:
parent
4970df0a65
commit
32d497785a
@ -49,7 +49,8 @@ const VerticalFilterControlTitle = styled.h4`
|
|||||||
const HorizontalFilterControlTitle = styled(VerticalFilterControlTitle)`
|
const HorizontalFilterControlTitle = styled(VerticalFilterControlTitle)`
|
||||||
font-weight: ${({ theme }) => theme.typography.weights.normal};
|
font-weight: ${({ theme }) => theme.typography.weights.normal};
|
||||||
color: ${({ theme }) => theme.colors.grayscale.base};
|
color: ${({ theme }) => theme.colors.grayscale.base};
|
||||||
${truncationCSS}
|
max-width: ${({ theme }) => theme.gridUnit * 15}px;
|
||||||
|
${truncationCSS};
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const HorizontalOverflowFilterControlTitle = styled(
|
const HorizontalOverflowFilterControlTitle = styled(
|
||||||
@ -68,7 +69,6 @@ const VerticalFilterControlTitleBox = styled.div`
|
|||||||
|
|
||||||
const HorizontalFilterControlTitleBox = styled(VerticalFilterControlTitleBox)`
|
const HorizontalFilterControlTitleBox = styled(VerticalFilterControlTitleBox)`
|
||||||
margin-bottom: unset;
|
margin-bottom: unset;
|
||||||
max-width: ${({ theme }) => theme.gridUnit * 15}px;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const HorizontalOverflowFilterControlTitleBox = styled(
|
const HorizontalOverflowFilterControlTitleBox = styled(
|
||||||
|
Loading…
Reference in New Issue
Block a user