fix: cut off title with ellipsis if too long (#439)

This commit is contained in:
Daniel Lautzenheiser 2023-01-26 15:33:41 -05:00 committed by GitHub
parent 5884d567a1
commit a15b9949c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,9 +62,13 @@ const StyledTitle = styled('div')`
line-height: 40px;
white-space: nowrap;
cursor: pointer;
display: flex;
align-items: center;
z-index: 1;
width: 220px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
}
`;
const TopBarButtonSpan = TopBarButton.withComponent('span');