Skip to content

Commit

Permalink
fix: Visual issue with underline on ITP button (#2924)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Mar 26, 2024
1 parent 089e66c commit 3cc37cb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions editor.planx.uk/src/@planx/components/Pay/Public/Confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,16 @@ const PayBody: React.FC<PayBodyProps> = (props) => {
: props.buttonTitle || "Pay now using GOV.UK Pay"}
</Button>
{!props.hidePay && props.showInviteToPay && (
<>
<Button
variant="contained"
color="secondary"
size="large"
onClick={props.changePage}
disabled={Boolean(props?.paymentStatus)}
data-testid="invite-page-link"
>
{"Invite someone else to pay for this application"}
</Button>
</>
<Button
variant="contained"
color="secondary"
size="large"
onClick={props.changePage}
disabled={Boolean(props?.paymentStatus)}
data-testid="invite-page-link"
>
{"Invite someone else to pay for this application"}
</Button>
)}
{isSaveReturn && <SaveResumeButton />}
</PayText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const InviteToPayForm: React.FC<InviteToPayFormProps> = ({
<Button
variant="contained"
color="secondary"
sx={{ mt: 2, borderBottom: "solid 2px lightgrey" }}
sx={{ mt: 2 }}
size="large"
onClick={changePage}
disabled={Boolean(paymentStatus)}
Expand Down

0 comments on commit 3cc37cb

Please sign in to comment.