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 unused Bootstrap CSS #985

Open
matthew-white opened this issue Apr 30, 2024 · 0 comments
Open

Remove unused Bootstrap CSS #985

matthew-white opened this issue Apr 30, 2024 · 0 comments
Labels
styles Changes to CSS

Comments

@matthew-white
Copy link
Member

matthew-white commented Apr 30, 2024

We import CSS from Bootstrap 3 via src/assets/css/bootstrap.css. That file is one of our largest assets. Bootstrap includes many components that we don't use in Frontend. We could reduce the size of the Frontend bundle by removing CSS from bootstrap.css that we don't use. We've already been doing that on a case-by-case basis. In some cases, CSS has been moved from bootstrap.css and integrated into app.scss. I think we should accelerate that process and aim to remove much of the CSS in bootstrap.css.

We already removed some Bootstrap CSS in #44. However, I believe that that was reverted in #199.

@matthew-white matthew-white added the styles Changes to CSS label Apr 30, 2024
This was referenced Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
styles Changes to CSS
Projects
None yet
Development

No branches or pull requests

1 participant