mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
fix: long labels now truncate with ellipsis (#11400)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user