I tried preventing the overflow by an ellipsis. Here is the output:
Is this a good improvement? Or any other suggestions to fix this issue?