Skip to content

Commit 51f4bc3

Browse files
authored
Merge pull request #20 from TechnologyEnhancedLearning/Develop/Fixes/TD-1870-error-message-padding-issue
TD-1870 Remove space between and after
 Error message across the Application



2 parents c86c564 + 318a67a commit 51f4bc3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
@if (Model.Required && !Model.HasError)
3939
{
40-
<div data-valmsg-for="@Model.AspFor" data-valmsg-replace="true" class="nhsuk-error-message field-validation-valid nhsuk-u-padding-top-1 nhsuk-u-padding-bottom-3">
40+
<div data-valmsg-for="@Model.AspFor" data-valmsg-replace="true" class="error-message--margin-bottom-1 nhsuk-error-message field-validation-valid nhsuk-u-padding-top-1 nhsuk-u-padding-bottom-3">
4141
</div>
4242
}
4343

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525
@if (Model.Required && !Model.HasError)
2626
{
27-
<div data-valmsg-for="@Model.Name" data-valmsg-replace="true" class="nhsuk-error-message field-validation-valid nhsuk-u-padding-top-1 nhsuk-u-padding-bottom-3">
27+
<div data-valmsg-for="@Model.Name" data-valmsg-replace="true" class="error-message--margin-bottom-1 nhsuk-error-message field-validation-valid nhsuk-u-padding-top-1 nhsuk-u-padding-bottom-3">
2828
</div>
2929
}
3030

0 commit comments

Comments
 (0)