Previously the text would just overflow out of the box which looks wrong. This fixes that by adding a ellipsis.