diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-20 16:02:16 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-09-20 16:02:32 +0200 |
| commit | 9104632c4f6a2b5380fc770a29ce368bba563b69 (patch) | |
| tree | 46425019b4d9a2080f1a5a7a8c4dcb13fa44f312 | |
| parent | 506f22b4663f3e756e1e6a4f66c6309fdc00819c (diff) | |
| download | rust-9104632c4f6a2b5380fc770a29ce368bba563b69.tar.gz rust-9104632c4f6a2b5380fc770a29ce368bba563b69.zip | |
Revert additional scraped examples height
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 38154dee3e2..01506b46af2 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -801,6 +801,9 @@ both the code example and the line numbers, so we need to remove the radius in t * and we include additional 10px for padding. */ max-height: calc(1.5em * 5 + 10px); } +.more-scraped-examples .scraped-example:not(.expanded) .example-wrap { + max-height: calc(1.5em * 10 + 10px); +} .rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers, .rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers > pre, |
