Commit b963228
committed
rustdoc: remove no-op CSS
The rule `display: inline-block` was added in
5afa52b.
The `margin: 0` and `font-weight: normal` were added in
c01bd56.
Both seem to have been added to override class-based rules that were
targetted at method sections. See
<https://github.com/rust-lang/rust/blob/c01bd560e2f87a9a960ed071213edd70f73171a8/src/librustdoc/html/static/rustdoc.css#L140-L148>
for an example. The selectors that these were meant to override were changed
in a8318e4 and
76a3b60 to be more specific, so they no
longer need to be overridden..search-results .result-name > span
1 parent 52e003a commit b963228
File tree
2 files changed
+3
-6
lines changed- src
- librustdoc/html/static/css
- test/rustdoc-gui
2 files changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | 990 | | |
997 | 991 | | |
998 | 992 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
0 commit comments