Skip to content

Commit 489086e

Browse files
VIA-832 Fix CSS spacing on RSVEligibilityFallback on narrow viewports
1 parent a76afcf commit 489086e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/_components/eligibility/RSVEligibilityFallback.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ const RSVEligibilityFallback = (props: {
1111
vaccineType: VaccineType.RSV;
1212
}): JSX.Element => {
1313
const howToGetVaccineOrFallback = props.styledVaccineContent ? (
14-
props.styledVaccineContent.howToGetVaccine.component
14+
<>
15+
<div className={"nhsuk-body"}>{props.styledVaccineContent.howToGetVaccine.component}</div>
16+
</>
1517
) : (
1618
<HowToGetVaccineFallback vaccineType={props.vaccineType} />
1719
);
18-
1920
return (
2021
<div data-testid="elid-fallback">
2122
<NonUrgentCareCard
@@ -31,7 +32,6 @@ const RSVEligibilityFallback = (props: {
3132
/>
3233
<h3>{HEADINGS.IF_THIS_APPLIES}</h3>
3334
{howToGetVaccineOrFallback}
34-
<div style={{ marginBottom: "24px" }}> </div>
3535
<PharmacyBookingInfo vaccineType={props.vaccineType} />
3636
</div>
3737
);

0 commit comments

Comments
 (0)