Add text overflow handling