Skip to content

Commit f0e62bd

Browse files
authored
Merge pull request #17 from TechnologyEnhancedLearning/Develop/Fixes/TD-1682-add-reading-width-class-to-the-error-summary
TD-1682 addition of nhsuk-u-reading-width class to the error summary div.
2 parents 43d6e7c + fc5e772 commit f0e62bd

File tree

1 file changed

+2
-2
lines changed
  • NHSUKViewComponents.Web/Views/Shared/Components/ErrorSummary

1 file changed

+2
-2
lines changed

NHSUKViewComponents.Web/Views/Shared/Components/ErrorSummary/Default.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
@if(Model.Errors.Any())
55
{
6-
<div class="nhsuk-error-summary" aria-labelledby="error-summary-title" role="alert" tabindex="-1">
6+
<div class="nhsuk-error-summary nhsuk-u-reading-width" aria-labelledby="error-summary-title" role="alert" tabindex="-1">
77
<h2 class="nhsuk-error-summary__title" id="error-summary-title">
88
There is a problem
99
</h2>
@@ -21,7 +21,7 @@
2121
}
2222
else
2323
{
24-
<div class="nhsuk-error-summary validation-summary-errors validation-summary-valid" data-valmsg-summary="true" aria-labelledby="error-summary-title" role="alert" tabindex="-1">
24+
<div class="nhsuk-error-summary validation-summary-errors validation-summary-valid nhsuk-u-reading-width" data-valmsg-summary="true" aria-labelledby="error-summary-title" role="alert" tabindex="-1">
2525
<h2 class="nhsuk-error-summary__title" id="error-summary-title">
2626
There is a problem
2727
</h2>

0 commit comments

Comments
 (0)