mirror of https://github.com/apache/superset.git
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)`
|
||||
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(
|
||||
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue