Skip to content

Commit 9104632

Browse files
Revert additional scraped examples height
1 parent 506f22b commit 9104632

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -801,6 +801,9 @@ both the code example and the line numbers, so we need to remove the radius in t
801801
* and we include additional 10px for padding. */
802802
max-height: calc(1.5em * 5 + 10px);
803803
}
804+
.more-scraped-examples .scraped-example:not(.expanded) .example-wrap {
805+
max-height: calc(1.5em * 10 + 10px);
806+
}
804807

805808
.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers,
806809
.rustdoc:not(.src) .scraped-example:not(.expanded) .src-line-numbers > pre,

0 commit comments

Comments
 (0)