about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-20 16:02:16 +0200
committerGuillaume Gomez <guillaume.gomez@huawei.com>2024-09-20 16:02:32 +0200
commit9104632c4f6a2b5380fc770a29ce368bba563b69 (patch)
tree46425019b4d9a2080f1a5a7a8c4dcb13fa44f312
parent506f22b4663f3e756e1e6a4f66c6309fdc00819c (diff)
downloadrust-9104632c4f6a2b5380fc770a29ce368bba563b69.tar.gz
rust-9104632c4f6a2b5380fc770a29ce368bba563b69.zip
Revert additional scraped examples height
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css3
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,