fix: long labels now truncate with ellipsis (#11400)
This commit is contained in:
parent
2f0c1a8402
commit
d64260fc0e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue