We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d586d5d commit 58c88e6Copy full SHA for 58c88e6
src/librustdoc/html/static/rustdoc.css
@@ -282,8 +282,11 @@ nav.sub {
282
padding-left: 0;
283
}
284
285
-.example-wrap {
+body:not(.source) .example-wrap {
286
display: inline-flex;
287
+}
288
+
289
+.example-wrap {
290
width: 100%;
291
292
@@ -296,7 +299,7 @@ nav.sub {
296
299
text-align: right;
297
300
298
301
-.example-wrap > pre.rust {
302
+body:not(.source) .example-wrap > pre.rust {
303
304
305
0 commit comments