getodk / getodk/central

Remove unused Bootstrap CSS

Open
#1,277 0 comments 0 reactions 0 assignees View on GitHub
frontend refactor
Dominant language
JavaScript
Stars
226
Forks
235
Avg merge
2d 22h
Merged PRs (30d)
19

Description

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 getodk/central-frontend#44. However, I believe that that was reverted in getodk/central-frontend#199.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.