Fix "run" button position in error index

This commit is contained in:
Guillaume Gomez 2021-03-10 16:40:27 +01:00
parent 4b9f5cc4c1
commit a4d7046714
2 changed files with 2 additions and 1 deletions

View File

@ -332,6 +332,7 @@ table th {
/* Code snippets */ /* Code snippets */
.example-wrap { position: relative; }
pre.rust { position: relative; } pre.rust { position: relative; }
a.test-arrow { a.test-arrow {
background-color: rgba(78, 139, 202, 0.2); background-color: rgba(78, 139, 202, 0.2);

View File

@ -347,10 +347,10 @@ nav.sub {
.rustdoc:not(.source) .example-wrap { .rustdoc:not(.source) .example-wrap {
display: inline-flex; display: inline-flex;
margin-bottom: 10px; margin-bottom: 10px;
position: relative;
} }
.example-wrap { .example-wrap {
position: relative;
width: 100%; width: 100%;
} }