Skip to content

Commit

Permalink
K1J-338: Fixed sign modal text to not be split in two columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mhornfeldt committed Nov 11, 2024
1 parent 02b2c22 commit 6164c40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public CertificateConfirmationModal create(String patientName, String patientId,
}

private String getConfirmationText(String patientName, String patientId) {
return "Jag intygar att dödsbevis ska utfärdas för<strong> "
return "<div>Jag intygar att dödsbevis ska utfärdas för<strong> "
+ patientName
+ " - "
+ patientId
+ "</strong>";
+ "</strong></div>";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void shouldReturnExpectedModalForNormalOrigin() {
)
.build()
)
.checkboxText("Jag intygar att dödsbevis ska utfärdas för<strong> NAME MIDDLE LAST - ID</strong>")
.checkboxText("<div>Jag intygar att dödsbevis ska utfärdas för<strong> NAME MIDDLE LAST - ID</strong></div>")
.primaryAction(CertificateModalActionType.SIGN)
.secondaryAction(CertificateModalActionType.CANCEL)
.text("För att kunna signera behöver du kontrollera att personuppgifterna stämmer.")
Expand All @@ -68,7 +68,7 @@ void shouldReturnExpectedModalForIntegratedOrigin() {
+ "<strong>Detta går inte att ångra.</strong>"
).build()
)
.checkboxText("Jag intygar att dödsbevis ska utfärdas för<strong> NAME MIDDLE LAST - ID</strong>")
.checkboxText("<div>Jag intygar att dödsbevis ska utfärdas för<strong> NAME MIDDLE LAST - ID</strong></div>")
.primaryAction(CertificateModalActionType.SIGN)
.secondaryAction(CertificateModalActionType.CANCEL)
.text("För att kunna signera behöver du kontrollera att personuppgifterna stämmer.")
Expand Down

0 comments on commit 6164c40

Please sign in to comment.