update styling for percentages and ems