refactor to use css for person-detail