Fixes #327.
This PR fixes the overflow in the user pop up caused by a long pseudo.
Features:
Ellipsis on pseudo overflow in pop up
Reduction of the maximum number of character for username and pseudo after team decision.
Centauri points and username overflow are already handled by wrapping
Note: PublicationHeader, was placed in views/components/ and its name was not consistent with our PostCard component which made it difficult for me to find when starting to work on this PR, so I moved and renamed it.
I understand that it was not in the scope of the PR, so I leave the choice to the reviewer to have it reverted or not. If kept, this PR will be merged at the end of the sprint not to hinder any other teammate progression.
Acceptance criteria:
Fix text overflow on profile popup on:
Fixes #327. This PR fixes the overflow in the user pop up caused by a long pseudo.
Features:
Note: PublicationHeader, was placed in
views/components/
and its name was not consistent with ourPostCard
component which made it difficult for me to find when starting to work on this PR, so I moved and renamed it. I understand that it was not in the scope of the PR, so I leave the choice to the reviewer to have it reverted or not. If kept, this PR will be merged at the end of the sprint not to hinder any other teammate progression.Acceptance criteria: Fix text overflow on profile popup on: