Styling changes when errors present