Rollup merge of #82979 - GuillaumeGomez:run-button-pos, r=Nemo157
Fix "run" button position in error index This isn't really a rustdoc issue but I still made the same fix in the `rustdoc.css` file (doesn't hurt). Before:  After:  cc ````@jyn514```` (considering this is quite a big bug and an easy fix) r? ````@Nemo157````
This commit is contained in:
commit
6ea16859fb
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue