adding style to history details page