Skip to content

Commit

Permalink
change button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
elvincheng3 committed Dec 6, 2023
1 parent fc0e9ca commit b7a33c6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion apps/web/src/components/FormInstance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,15 @@ const FormInstance = ({
title: signature.signerPosition.name,
}))}
/>
{_userCanSign && <Button onClick={_handleFormSign}>Sign Form</Button>}
{_userCanSign && (
<Button
onClick={_handleFormSign}
background={formInstance.markedCompleted ? '#e2e8f0' : '#4C658A'}
color="#FFF"
>
Sign Form
</Button>
)}
{formInstance.completed && (
<Box display="flex" justifyContent={'flex-end'}>
<Button
Expand Down

0 comments on commit b7a33c6

Please sign in to comment.