Skip to content

Commit a4d7046

Browse files
Fix "run" button position in error index
1 parent 4b9f5cc commit a4d7046

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/doc/rust.css

+1
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,7 @@ table th {
332332

333333
/* Code snippets */
334334

335+
.example-wrap { position: relative; }
335336
pre.rust { position: relative; }
336337
a.test-arrow {
337338
background-color: rgba(78, 139, 202, 0.2);

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,10 @@ nav.sub {
347347
.rustdoc:not(.source) .example-wrap {
348348
display: inline-flex;
349349
margin-bottom: 10px;
350-
position: relative;
351350
}
352351

353352
.example-wrap {
353+
position: relative;
354354
width: 100%;
355355
}
356356

0 commit comments

Comments
 (0)