Trims long text and add ellipsis