How do you handle long text in UI?
Use truncation
When text is too long to fit in the layout, you can shorten it and replace the missing part with ellipses. However, text truncation hides content that can be relevant to users. Always define the rules of truncation to avoid affecting the user experience.