Commit f309934
committed
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 parent 03770f0 commit f309934
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2009 | 2009 | | |
2010 | 2010 | | |
2011 | 2011 | | |
2012 | | - | |
2013 | 2012 | | |
2014 | 2013 | | |
2015 | 2014 | | |
| |||
2037 | 2036 | | |
2038 | 2037 | | |
2039 | 2038 | | |
2040 | | - | |
2041 | | - | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | | - | |
| 2039 | + | |
| 2040 | + | |
2046 | 2041 | | |
2047 | 2042 | | |
2048 | | - | |
2049 | | - | |
| 2043 | + | |
| 2044 | + | |
2050 | 2045 | | |
2051 | 2046 | | |
2052 | 2047 | | |
| |||
0 commit comments