improve resource history styling