Skip to content

Remove unused USWDS utility classes#9868

Merged
aduth merged 1 commit intomainfrom
aduth-rm-unused-uswds-util
Jan 5, 2024
Merged

Remove unused USWDS utility classes#9868
aduth merged 1 commit intomainfrom
aduth-rm-unused-uswds-util

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jan 5, 2024

🛠 Summary of changes

Removes unused utility classes from the generated stylesheet, to reduce its size.

clearfix references were removed in #9812.

maxw was still technically expected to be used, but the utility is actually called max-width (source), so the expected utility classes were not actually being output. Technically this was a regression of #8093, though the actual effect is quite minor. Discussed previously at #5989 (comment), I don't think the effect is significant enough to warrant reintroducing the utility classes.

📜 Testing Plan

Verify there are no lingering references in code to clearfix or maxw- CSS classes.

changelog: Internal, Performance, Reduce size of application stylesheet
@aduth aduth merged commit 9a3703e into main Jan 5, 2024
@aduth aduth deleted the aduth-rm-unused-uswds-util branch January 5, 2024 19:55
@amirbey amirbey mentioned this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants