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

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;