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
1 changed files with 8 additions and 3 deletions

View File

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