Installed the latest version of the nhsuk-react-components plugin; mainly to fix an issue with how the nhsuk-form-group is wrapped around form elements.
Removed extra <section> element which had custom spacing and created a longer page (minimal spacing is actually good for transactional services, especially on mobile). Applied a class to the <main> element which reduces the vertical spacing.
Removed the duplicate nhsuk-width-container elements within the Login page, only really need 1 container for the whole page (but multiple rows and grids).
Removed unused(?) styles and variables (nhsuk-frontend styles seem to cover all of these) and added a hotfix for a small styling issue that was found in the nhsuk-react-components package
Use the service name in the <title> with the recommended format for page title (Page name - Site name)
Installed the latest version of the nhsuk-react-components plugin; mainly to fix an issue with how the
nhsuk-form-group
is wrapped around form elements.Removed extra
<section>
element which had custom spacing and created a longer page (minimal spacing is actually good for transactional services, especially on mobile). Applied a class to the<main>
element which reduces the vertical spacing.Removed the duplicate
nhsuk-width-container
elements within the Login page, only really need 1 container for the whole page (but multiple rows and grids).Removed unused(?) styles and variables (nhsuk-frontend styles seem to cover all of these) and added a hotfix for a small styling issue that was found in the nhsuk-react-components package
Use the service name in the
<title>
with the recommended format for page title (Page name - Site name)