Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUT-2729: Fix text wrapping issue on home page #1674

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/sign-in-or-create/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{% block content %}
{% include "common/errors/errorSummary.njk" %}

<h1 class="govuk-heading-l govuk-!-margin-top-0 govuk-!-margin-bottom-3">{{ 'pages.signInOrCreate.mandatory.header' | translate }}</h1>
<h1 class="govuk-heading-l govuk-!-margin-top-0 govuk-!-margin-bottom-3">{{ 'pages.signInOrCreate.mandatory.header' | translate | striptags | safe }} </h1>
dbes-gds marked this conversation as resolved.
Show resolved Hide resolved

<p class="govuk-body">{{ 'pages.signInOrCreate.paragraph1' | translate }}</p>

Expand Down
2 changes: 1 addition & 1 deletion src/locales/cy/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"signInOrCreate": {
"mandatory": {
"title": "Creu eich GOV.UK One Login neu fewngofnodi",
"header": "Creu eich GOV.UK One Login neu fewngofnodi"
"header": "Creu eich GOV.UK One&nbsp;Login neu fewngofnodi"
},
"optional": {
"title": "Creu GOV.UK One Login neu fewngofnodi i arbed eich cynnydd",
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"signInOrCreate": {
"mandatory": {
"title": "Create your GOV.UK One Login or sign in",
"header": "Create your GOV.UK One Login or sign in"
"header": "Create your GOV.UK One&nbsp;Login or sign&nbsp;in"
},
"optional": {
"title": "Create a GOV.UK One Login or sign in to save your progress",
Expand Down
Loading