Skip to content

Commit

Permalink
fix: fix ation button content aligment on appointments summary table
Browse files Browse the repository at this point in the history
  • Loading branch information
usamaidrsk committed Jan 31, 2024
1 parent 80d4b15 commit dac9a91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const RenderStatus = ({ status, t, appointmentUuid, mutate }: RenderStatusProps)
);
case 'CheckedIn':
return (
<Button kind="ghost" className={styles.actionButton} onClick={() => handleComplete(appointmentUuid, mutate, t)}>
<Button kind="ghost" onClick={() => handleComplete(appointmentUuid, mutate, t)}>
{t('complete', 'Complete')}
</Button>
);
Expand All @@ -87,7 +87,6 @@ const RenderStatus = ({ status, t, appointmentUuid, mutate }: RenderStatusProps)
<Button
size="sm"
kind="ghost"
className={styles.actionButton}
disabled={status === 'CheckedIn'}
onClick={() => launchCheckInAppointmentModal(appointmentUuid)}>
{t('checkIn', 'Check In')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@
font-weight: 700;
}

.actionButton {
position: static;
padding: layout.$spacing-03 layout.$spacing-05 layout.$spacing-03 0;
}

.serviceColor {
border-radius: 50%;
margin-right: layout.$spacing-03;
Expand Down

0 comments on commit dac9a91

Please # to comment.