Commit 6e7ead0
committed
Remove stability marker arrow.
This was originally introduced in # 51387, to solve a UI problem: in a
list of collapsed methods, it was not clear whether the stability marker
attached to the item above it or the one below it.
That problem has now been solved in a couple of different ways:
- The margin between the stability marker and the item it annotates is
much smaller, indicating their relationship.
- Stability markers are now collapsed along with the docblock.
Also, the arrow made our CSS fragile, since it was positioned absolutely
and needed to line up horizontally with the beginning of the item (or
with the link icon).
Aligning this with the rest of the docblock makes getting the CSS right
a lot easier.1 parent 64e1038 commit 6e7ead0
File tree
5 files changed
+3
-17
lines changed- src/librustdoc/html/static
- themes
5 files changed
+3
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
867 | 867 | | |
868 | 868 | | |
869 | | - | |
| 869 | + | |
870 | 870 | | |
871 | 871 | | |
872 | 872 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
593 | | - | |
594 | | - | |
595 | | - | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | 591 | | |
600 | 592 | | |
601 | 593 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| |||
0 commit comments