Skip to content

Commit

Permalink
Fix "run" button position in error index
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 10, 2021
1 parent 4b9f5cc commit a4d7046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/doc/rust.css
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ table th {

/* Code snippets */

.example-wrap { position: relative; }
pre.rust { position: relative; }
a.test-arrow {
background-color: rgba(78, 139, 202, 0.2);
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -347,10 +347,10 @@ nav.sub {
.rustdoc:not(.source) .example-wrap {
display: inline-flex;
margin-bottom: 10px;
position: relative;
}

.example-wrap {
position: relative;
width: 100%;
}

Expand Down

0 comments on commit a4d7046

Please sign in to comment.