summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorWill Crichton <wcrichto@cs.stanford.edu>2021-10-07 10:27:09 -0700
committerWill Crichton <wcrichto@cs.stanford.edu>2021-10-08 11:14:01 -0700
commite22e8586877925c731e712f3116e53bdcccfffa7 (patch)
treee057905ca960da50a1b36d75e5471332ee0c9907 /src/librustdoc/html/static/css/rustdoc.css
parentbb383edb69e2aaa718dc94147275053005d112e3 (diff)
downloadrust-e22e8586877925c731e712f3116e53bdcccfffa7.tar.gz
rust-e22e8586877925c731e712f3116e53bdcccfffa7.zip
Move more scrape-examples logic from JS to rust
Fix failing test

Add missing backslash

Fix padding issue with horizontal scrollbar
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 820f6a00f20..49bdb2455ac 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -1986,6 +1986,7 @@ details.undocumented[open] > summary::before {
 .scraped-example:not(.expanded) .code-wrapper .example-wrap pre.rust {
 	overflow-y: hidden;
 	max-height: 240px;
+	padding-bottom: 0;
 }
 
 .scraped-example .code-wrapper .prev {