Skip to content

Commit

Permalink
fix: long labels now truncate with ellipsis (#11400)
Browse files Browse the repository at this point in the history
  • Loading branch information
rusackas authored Oct 23, 2020
1 parent 2f0c1a8 commit d64260f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset-frontend/src/components/Label/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export interface LabelProps {
const SupersetLabel = styled(BootstrapLabel)`
/* un-bunch them! */
margin-right: ${({ theme }) => theme.gridUnit}px;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:first-of-type {
margin-left: 0;
Expand Down

0 comments on commit d64260f

Please sign in to comment.