Skip to content

Remove unused usa-form styles#10418

Merged
aduth merged 1 commit intomainfrom
aduth-rm-usa-form-styles
Apr 12, 2024
Merged

Remove unused usa-form styles#10418
aduth merged 1 commit intomainfrom
aduth-rm-usa-form-styles

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 12, 2024

🛠 Summary of changes

Removes unused styles for the usa-form USWDS form component.

Despite having many forms, we never use the usa-form class. We do use usa-form-group styles, but these are included separately.

Performance Impact:

NODE_ENV=production yarn build:css && brotli-size app/assets/builds/application.css

Before: 18.7 kB
After 18.4 kB
Diff: -0.3 kB (-1.6%)

📜 Testing Plan

Verify there are no instances of usa-form class use in the codebase.

changelog: Internal, Performance, Reduce size of common application stylesheet
@aduth aduth merged commit b7d7b0e into main Apr 12, 2024
@aduth aduth deleted the aduth-rm-usa-form-styles branch April 12, 2024 14:36
@mitchellhenke mitchellhenke mentioned this pull request Apr 16, 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