Finally solved those resize overflow troubles. word-wrap: break-word is our friend.