Skip to content

Commit abde8c1

Browse files
committed
TD-6277 Polyfill seems not to exist and some changes show not supporting older browsers so removing polyfill reference and not replacing it
1 parent 90e99d4 commit abde8c1

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

DigitalLearningSolutions.Web/Scripts/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module 'nhsuk-frontend/dist/nhsuk/components/header/header' { // qqqq still packages! not node_modules/nhsuk-frontend/dist/nhsuk/nhsuk/components
1+
declare module 'nhsuk-frontend/dist/nhsuk/components/header/header' {
22
export default function Header(): void;
33
}
44

DigitalLearningSolutions.Web/Scripts/nhsuk.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { initAll } from 'nhsuk-frontend';
33

44
// Polyfills
5-
import 'nhsuk-frontend/dist/nhsuk/polyfills';// qqqq come back to this
65
import 'core-js/stable';
76
import 'regenerator-runtime/runtime';
87

DigitalLearningSolutions.Web/Styles/shared/components/cancelLink.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.nhsuk-back-link__link { // qqqq likely now to be redundant and what should it be .nhsuk-action__svg-spacing?
1+
.nhsuk-back-link__link {
22
padding-left: 24px;
33
}
44

DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/FilteredMgp/Asset.cshtml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@
3535
<div class="@(Model.MainImage == "" ? "nhsuk-grid-column-full" : "nhsuk-grid-column-one-half")">
3636
@Html.Raw(Model.Description)
3737
<a class="nhsuk-action-link" aria-describedby="[email protected]" target="_blank" href="@Model.DirectUrl">
38-
<!-- qqqq not right arrrow change --/>
39-
<svg class="nhsuk-icon nhsuk-icon__arrow-right-circle" focusable="false" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true">
40-
<path d="M0 0h24v24H0z" fill="none"></path>
41-
<path d="M12 2a10 10 0 0 0-9.95 9h11.64L9.74 7.05a1 1 0 0 1 1.41-1.41l5.66 5.65a1 1 0 0 1 0 1.42l-5.66 5.65a1 1 0 0 1-1.41 0 1 1 0 0 1 0-1.41L13.69 13H2.05A10 10 0 1 0 12 2z"></path>
38+
<svg class="nhsuk-icon nhsuk-icon--arrow-right-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="16" height="16" focusable="false" aria-hidden="true">
39+
<path d="M12 2a10 10 0 0 0-10 9h11.7l-4-4a1 1 0 0 1 1.5-1.4l5.6 5.7a1 1 0 0 1 0 1.4l-5.6 5.7a1 1 0 0 1-1.5 0 1 1 0 0 1 0-1.4l4-4H2A10 10 0 1 0 12 2z"/>
4240
</svg>
4341
<span class="nhsuk-action-link__text">Launch</span>
4442
</a>

DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments/SelfAssessmentCompetency.cshtml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@
118118
</div>
119119
</div>
120120
<div class="page-indicator-container">
121-
@**qqqq no chevron here so come back to it**@
122-
<a class="nhsuk-back-link__link"
121+
<a class="nhsuk-back-link"
123122
asp-action="SelfAssessmentOverview"
124123
asp-route-selfAssessmentId="@Model.Assessment.Id" asp-route-vocabulary="@Model.VocabPlural()" asp-route-competencyGroupId="@Model.Competency.CompetencyGroupID" asp-fragment="[email protected]">
125124
<span class="nhsuk-pagination__page">Return to @Model.VocabPlural() home</span>
@@ -145,7 +144,6 @@
145144
}
146145
else
147146
{
148-
@* qqqq check it nhsuk-grid-column-full may have need to be paired with nhsuk-back-link *@
149147
<div class="nhsuk-grid-column-full">
150148
<a class="nhsuk-back-link"
151149
asp-action="SelfAssessmentOverview"

0 commit comments

Comments
 (0)