mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
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)`
|
const SupersetLabel = styled(BootstrapLabel)`
|
||||||
/* un-bunch them! */
|
/* un-bunch them! */
|
||||||
margin-right: ${({ theme }) => theme.gridUnit}px;
|
margin-right: ${({ theme }) => theme.gridUnit}px;
|
||||||
|
max-width: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
|
||||||
&:first-of-type {
|
&:first-of-type {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user