Skip to content

Commit 3a6c6c8

Browse files
committed
Auto merge of #30680 - wesleywiser:rustdoc_image_max_width, r=steveklabnik
Fixes #24861
2 parents dbacacd + 4dee31c commit 3a6c6c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+4
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ pre {
143143
padding: 20px;
144144
}
145145

146+
img {
147+
max-width: 100%;
148+
}
149+
146150
.content.source {
147151
margin-top: 50px;
148152
max-width: none;

0 commit comments

Comments
 (0)