Skip to content

Commit

Permalink
chore: improve group projects tooltip behavior (#9054)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
nunogois authored Jan 3, 2025
1 parent 7eced29 commit 3c16616
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3c16616

Please sign in to comment.