GOV.UK Frontend v4.3.1
Recommended changes
Replace deprecated govuk-!-margin-static
and govuk-!-padding-static
classes
We've fixed an error in the naming convention of the static spacing override classes we'd introduced in v4.3.0. These classes should start with govuk-!-static
, and we've now deprecated the incorrect classes.
If you're using the static spacing margin override classes, replace any classes starting with govuk-!-margin-static
with govuk-!-static-margin
. For example: govuk-!-margin-static-2
would become govuk-!-static-margin-2
.
If you're using the static spacing padding override classes, replace any classes starting with govuk-!-padding-static
with govuk-!-static-padding
. For example: govuk-!-padding-static-2
would become govuk-!-static-padding-2
.
We've deprecated the govuk-!-margin-static
and govuk-!-padding-static
classes, and will remove them in a future major release.
This change was introduced in pull request #2770: Fix ordering of properties in static spacing override classes. Thanks to @garrystewart for reporting this issue.
Fixes
We’ve made fixes to GOV.UK Frontend in the following pull requests: