more css clean up and reduce diagram div size