diff options
| author | bors <bors@rust-lang.org> | 2022-12-17 23:27:53 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-17 23:27:53 +0000 |
| commit | 24368ecdc4c0248d5ab14834576da96b9c2a9fa1 (patch) | |
| tree | d9098ad8ff8368e0096cee39bfff794fdbbeb397 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 0468a00ae3fd6ef1a6a0f9eaf637d7aa9e604acc (diff) | |
| parent | 8fc1a72e563582aa4f132f73b30cf049055a03c2 (diff) | |
| download | rust-24368ecdc4c0248d5ab14834576da96b9c2a9fa1.tar.gz rust-24368ecdc4c0248d5ab14834576da96b9c2a9fa1.zip | |
Auto merge of #105849 - matthiaskrgr:rollup-ya4s1n2, r=matthiaskrgr
Rollup of 8 pull requests Successful merges: - #104854 (Symlink `build/host` -> `build/$HOST_TRIPLE`) - #105458 (Allow blocking `Command::output`) - #105559 (bootstrap: Allow installing `llvm-tools`) - #105789 (rustdoc: clean up margin CSS for scraped examples) - #105792 (docs: add long error explanation for error E0320) - #105814 (Support call and drop terminators in custom mir) - #105829 (Speed up tidy) - #105836 (std::fmt: Use args directly in example code) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index a65bec37e1d..022ed606cc3 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2003,7 +2003,6 @@ in storage.js .more-examples-toggle .hide-more { margin-left: 25px; - margin-bottom: 5px; cursor: pointer; } @@ -2031,16 +2030,12 @@ in storage.js height: 100%; } -.more-scraped-examples .scraped-example { - margin-bottom: 20px; -} - -.more-scraped-examples .scraped-example:last-child { - margin-bottom: 0; +.more-scraped-examples .scraped-example, .example-links { + margin-top: 20px; } -.example-links a { - margin-top: 20px; +.more-scraped-examples .scraped-example:first-child { + margin-top: 5px; } .example-links ul { |
