add styles for small views on the profile-card page