Adds margin to history buttons for style