Handle long text in dropdown list with ellipsis