fix: cut off title with ellipsis if too long (#439)
This commit is contained in:
parent
5884d567a1
commit
a15b9949c0
@ -62,9 +62,13 @@ const StyledTitle = styled('div')`
|
|||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
width: 220px;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const TopBarButtonSpan = TopBarButton.withComponent('span');
|
const TopBarButtonSpan = TopBarButton.withComponent('span');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user