Apply styling correctly