fix(explore): overflow issue with metric options (#12129)

* fixing overflow issue

* lint!
This commit is contained in:
Evan Rusackas 2020-12-18 14:14:07 -08:00 committed by GitHub
parent a6ac2c1245
commit f653a8de30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -38,8 +38,12 @@ const OptionControlContainer = styled.div<{ isAdhoc?: boolean }>`
`;
const Label = styled.div`
display: flex;
display: inline-block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
align-items: center;
white-space: nowrap;
padding-left: ${({ theme }) => theme.gridUnit}px;
svg {
margin-right: ${({ theme }) => theme.gridUnit}px;