Adds styling to list elements in views.