Commit 2835b66
authored
Rollup merge of rust-lang#105789 - notriddle:notriddle/examples-margin, r=GuillaumeGomez
rustdoc: clean up margin CSS for scraped examples
* This stops applying a margin to the additional example links. Because these links are `display: inline`, it doesn't actually do anything.
* This switches from using a margin-bottom with a special exception for the examples themselves, plus an additional margin on the hide button, to instead using just margin-top on the examples, with an exception for the first one.
No user-visible changes should result from this.1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2003 | 2003 | | |
2004 | 2004 | | |
2005 | 2005 | | |
2006 | | - | |
2007 | 2006 | | |
2008 | 2007 | | |
2009 | 2008 | | |
| |||
2031 | 2030 | | |
2032 | 2031 | | |
2033 | 2032 | | |
2034 | | - | |
2035 | | - | |
2036 | | - | |
2037 | | - | |
2038 | | - | |
2039 | | - | |
| 2033 | + | |
| 2034 | + | |
2040 | 2035 | | |
2041 | 2036 | | |
2042 | | - | |
2043 | | - | |
| 2037 | + | |
| 2038 | + | |
2044 | 2039 | | |
2045 | 2040 | | |
2046 | 2041 | | |
| |||
0 commit comments