You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening the issue and recommending some fixes! The most common pattern I’ve seen is truncating with ellipses via css text-overflow and showing the full text on hover. https://www.patternfly.org/ux-writing/truncation/
Problem:
The
Paper
component inAppNavUserMenu
does not resize according to the content of itsText
child, which then overflows out of its parentSolution:
This can be solved by setting the
truncate
prop of theText
components toend
and giving their containingdiv
amin-width
of0
:But wait!
Now that the text is truncating properly, there needs to be a way of displaying the full user name and team name.
A couple of ideas:
Use a Tooltip:
OR
Expand element width on hover:
The text was updated successfully, but these errors were encountered: