mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
fix(explore): Glitch in a tooltip with metric's name (#32499)
This commit is contained in:
committed by
GitHub
parent
fc844d3dfd
commit
b3dfd4930a
@@ -23,21 +23,18 @@ import { ColumnMeta, Metric } from '@superset-ui/chart-controls';
|
||||
|
||||
const TooltipSectionWrapper = styled.div`
|
||||
${({ theme }) => css`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 40;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
font-size: ${theme.typography.sizes.s}px;
|
||||
line-height: 1.2;
|
||||
|
||||
&:not(:last-of-type) {
|
||||
margin-bottom: ${theme.gridUnit * 2}px;
|
||||
}
|
||||
&:last-of-type {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 40;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
`}
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user