fix(explore): Certified metric icons are various sizes (#12690)

This commit is contained in:
Geido 2021-01-22 22:14:40 +01:00 committed by GitHub
parent 4255c22d01
commit b32b6cd5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -153,10 +153,15 @@ const LabelContainer = styled.div`
display: inline; display: inline;
} }
.metric-option > .option-label { .metric-option {
& > svg {
min-width: ${({ theme }) => `${theme.gridUnit * 4}px`};
}
& > .option-label {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
}
`; `;
const DataSourcePanel = ({ const DataSourcePanel = ({