Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Fix: Align cancel buttons on left for editing appointmnet and patients
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushikpallavi7 committed Oct 1, 2021
1 parent 0dede48 commit a4ffc32
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/patients/edit/EditPatient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ const EditPatient = () => {
/>
<div className="row float-right">
<div className="btn-group btn-group-lg mt-3 mr-3">
<Button className="btn-save mr-2" color="success" onClick={onSave}>
{t('patients.updatePatient')}
</Button>
<Button className="btn-cancel" color="danger" onClick={onCancel}>
<Button className="btn-cancel mr-2" color="danger" onClick={onCancel}>
{t('actions.cancel')}
</Button>
<Button className="btn-save" color="success" onClick={onSave}>
{t('patients.updatePatient')}
</Button>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/scheduling/appointments/edit/EditAppointment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ const EditAppointment = () => {
/>
<div className="row float-right">
<div className="btn-group btn-group-lg mr-3">
<Button className="mr-2" color="success" onClick={onSave}>
{t('scheduling.appointments.updateAppointment')}
</Button>
<Button color="danger" onClick={onCancel}>
<Button className="mr-2" color="danger" onClick={onCancel}>
{t('actions.cancel')}
</Button>
<Button color="success" onClick={onSave}>
{t('scheduling.appointments.updateAppointment')}
</Button>
</div>
</div>
</div>
Expand Down

0 comments on commit a4ffc32

Please sign in to comment.