1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

chore: improve group projects tooltip behavior (#9054)

https://linear.app/unleash/issue/2-3111/improve-group-card-projects-tooltip

Slight improvement to the group card projects tooltip.

This handles very long project names a little bit better by allowing
them to break into new lines.


![image](https://github.com/user-attachments/assets/8f30e729-7877-463b-8e1e-d05934396827)
This commit is contained in:
Nuno Góis 2025-01-03 11:10:38 +00:00 committed by GitHub
parent 7eced2962f
commit 3c16616c36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,10 +116,12 @@ const StyledProjectsTooltip = styled(Box)(({ theme }) => ({
display: 'flex',
flexDirection: 'column',
gap: theme.spacing(1),
maxWidth: theme.spacing(25),
}));
const StyledProjectBadge = styled(Badge)({
cursor: 'pointer',
overflowWrap: 'anywhere',
});
interface IGroupCardProps {