Skip to content

Commit 04bb6f8

Browse files
VIA-608 AJ Fix heading margins on all pages as per design discussion
1 parent 22f1f5e commit 04bb6f8

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/app/_components/static/NoJsMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function NoJsMessage() {
66
<main className="nhsuk-main-wrapper nhsuk-main-wrapper--s" id="maincontent">
77
<div className="nhsuk-grid-row">
88
<div className="nhsuk-grid-column-full">
9-
<h1 className="app-dynamic-page-title__heading">Cannot show page</h1>
9+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>Cannot show page</h1>
1010
<p>You need to turn on JavaScript to access NHS App services in your browser.</p>
1111
<p>
1212
<a

src/app/check-and-book-vaccinations/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const VaccinationsHub = () => {
1111
<title>{`${SERVICE_HEADING} - ${NHS_TITLE_SUFFIX}`}</title>
1212
<BackToNHSAppLink />
1313
<MainContent>
14-
<h1 className={"app-dynamic-page-title__heading"}>{SERVICE_HEADING}</h1>
14+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-3"}>{SERVICE_HEADING}</h1>
1515
<h2 className="nhsuk-heading-s">Vaccines if you&#39;re pregnant</h2>
1616
<p>Some vaccines are recommended during pregnancy to protect the health of you and your baby.</p>
1717
<ul className="nhsapp-cards nhsapp-cards--stacked" data-testid={"vaccine-cardlinks-adults"}>

src/app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const NotFound = () => {
1111

1212
<BackLink />
1313
<MainContent>
14-
<h1>Page not found</h1>
14+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>Page not found</h1>
1515
<p>We&#39;ll fix this link as soon as possible. Try again later or use a different service.</p>
1616
<p>
1717
For urgent medical advice, go to{" "}

src/app/our-policies/accessibility/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const AccessibilityStatement = () => {
1212

1313
<BackLink />
1414
<MainContent>
15-
<h1>Accessibility statement for {SERVICE_HEADING}</h1>
15+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>Accessibility statement for {SERVICE_HEADING}</h1>
1616

1717
<article>
1818
<section>

src/app/our-policies/cookies-policy/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const CookiesPolicy = () => {
2323

2424
<BackLink />
2525
<MainContent>
26-
<h1>Cookies</h1>
26+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>Cookies</h1>
2727

2828
<ContentsList>
2929
{[summary, necessaryCookies, changes].map((value: IdAndHeading, index: number): JSX.Element => {

src/app/service-failure/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const ServiceFailure = () => {
1515

1616
<BackToNHSAppLink />
1717
<MainContent>
18-
<h1>There is a problem with the service</h1>
18+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>There is a problem with the service</h1>
1919
<p>This may be a temporary problem.</p>
2020
<p>
2121
{hasContextLoaded && (

src/app/session-logout/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const SessionLogout = () => {
2020
<>
2121
<title>{`You have logged out - ${SERVICE_HEADING} - ${NHS_TITLE_SUFFIX}`}</title>
2222
<MainContent>
23-
<h1>You have logged out</h1>
23+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>You have logged out</h1>
2424
<p>If you were entering information, it has not been saved and you will need to re-enter it.</p>
2525
<p>To continue, close the tab which has the service open and log in again.</p>
2626
</MainContent>

src/app/session-timeout/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const SessionTimeout = () => {
2020
<>
2121
<title>{`You have been logged out - ${SERVICE_HEADING} - ${NHS_TITLE_SUFFIX}`}</title>
2222
<MainContent>
23-
<h1>You have been logged out</h1>
23+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>You have been logged out</h1>
2424
<p>
2525
For security reasons, you&#39;re automatically logged out if you have not used the service for 10 minutes.
2626
</p>

src/app/sso-failure/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const SSOFailure = () => {
1515

1616
<BackToNHSAppLink />
1717
<MainContent>
18-
<h1>There is a problem</h1>
18+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>There is a problem</h1>
1919
<p>There was an issue with NHS login. This may be a temporary problem.</p>
2020
<p>
2121
{hasContextLoaded && (

src/app/vaccines-during-pregnancy/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const VaccinesDuringPregnancy = (): JSX.Element => {
1111
<title>{`${VACCINES_FOR_PREGNANT_PAGE} - ${NHS_TITLE_SUFFIX}`}</title>
1212
<BackLink />
1313
<MainContent>
14-
<h1 className={"app-dynamic-page-title__heading"}>{VACCINES_FOR_PREGNANT_PAGE}</h1>
14+
<h1 className={"nhsuk-heading-xl nhsuk-u-margin-bottom-5"}>{VACCINES_FOR_PREGNANT_PAGE}</h1>
1515
<ul className="nhsapp-cards nhsapp-cards--stacked">
1616
<CardLinkWithDescription
1717
title={"Whooping cough (Pertussis)"}

0 commit comments

Comments
 (0)