about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2025-08-06 16:02:08 +0000
committerGitHub <noreply@github.com>2025-08-06 16:02:08 +0000
commit925710d73ec4471c2e0d253096c43d13c8e8bd7a (patch)
tree9389b8f3f274d772a475293982f09ec5e85f863b /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentd98d7c0ee8d213c7052e19245d2a20c1f5484872 (diff)
parent102e39fa51e78cd1a4b72b34a51c948720000b1f (diff)
downloadrust-925710d73ec4471c2e0d253096c43d13c8e8bd7a.tar.gz
rust-925710d73ec4471c2e0d253096c43d13c8e8bd7a.zip
Remove CSS bootstrap dependency (#15251)
Follow-up of https://github.com/rust-lang/rust-clippy/pull/15208.

This PR removes the CSS `bootstrap` dependency which contains 1504 CSS
rules and weights 16.1 kB minified. Considering we used less than 50 of
these rules, it's quite a waste.

So this time, there are minor UI changes:
* The "expand/collapse all" buttons icon changed. It now uses the one
from font-awesome. It's quite close but not exactly the same.
* The layout is slightly different (you need to switch between two tabs
to actually see the difference).

Before this PR:

<img width="719" height="515" alt="image"
src="https://github.com/user-attachments/assets/1f067046-4ee9-49ee-bf38-50a8bf9888f2"
/>

With this PR:

<img width="719" height="515" alt="image"
src="https://github.com/user-attachments/assets/80331c98-1a1e-418f-b481-5b3f5c276926"
/>

With this, we will be able to go even further on reducing the page size
next. =D

This time, the DOM size itself reduced a bit but the difference is too
small to be noteworthy.

r? @samueltardieu

changelog: Remove CSS bootstrap dependency
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions