Add CSS class to history item detail svg elements.