Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove .nhsuk-u-top-and-bottom utility class #979

Merged
merged 3 commits into from
Jul 9, 2024

Conversation

frankieroberto
Copy link
Contributor

@frankieroberto frankieroberto commented Jul 5, 2024

I spotted that the .nhsuk-u-top-and-bottom utility class isn't actually included within the build as it was removed from core/all.scss in 2018 (df303c1).

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

Remove this utility class, as it's not actually included within the frontend build (and hasn't been for a while) and the mixin seems to be mostly intended for internal use within other components rather than to be used standalong as a utility class.
@frankieroberto frankieroberto marked this pull request as ready for review July 5, 2024 15:51
@frankieroberto frankieroberto force-pushed the remove-top-and-bottom-utility-class branch from 9662318 to 7baa327 Compare July 9, 2024 13:40
@sarawilcox
Copy link
Contributor

Hi @roshaanbajwa, were you going to check this one?

@roshaanbajwa roshaanbajwa merged commit 29917df into main Jul 9, 2024
2 checks passed
@roshaanbajwa roshaanbajwa deleted the remove-top-and-bottom-utility-class branch July 9, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants