From the looks of it, the top-and-bottom() mixin was likely only intended for use within other components, and I can’t see any evidence of it having been used as a standalone utility class (see GitHub search.
So I think this is safe to remove?
Checklist
[x] Tested against our testing policy (Resolution, Browser & Accessibility)
I spotted that the
.nhsuk-u-top-and-bottom
utility class isn't actually included within the build as it was removed fromcore/all.scss
in 2018 (https://github.com/nhsuk/nhsuk-frontend/commit/df303c1f342f0365707234c9e1b6f4c7feab6b51).From the looks of it, the
top-and-bottom()
mixin was likely only intended for use within other components, and I can’t see any evidence of it having been used as a standalone utility class (see GitHub search.So I think this is safe to remove?
Checklist