Skip to content

Commit

Permalink
Rollup merge of rust-lang#62238 - GuillaumeGomez:fix-code-block-infor…
Browse files Browse the repository at this point in the history
…mation-icon-pos, r=QuietMisdreavus

Fix code block information icon position

Fixes rust-lang#62118.

A screenshot of the fix:

<img width="720" alt="Screenshot 2019-06-29 at 18 28 59" src="https://user-images.githubusercontent.com/3050060/60386900-edb23b80-9a9b-11e9-9f4f-0f343674348c.png">

r? @rust-lang/rustdoc
  • Loading branch information
Centril authored Jul 5, 2019
2 parents 006f23c + e861efd commit 9faec96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ img {
max-width: 100%;
}

li {
position: relative;
}

.source .content {
margin-top: 50px;
max-width: none;
Expand Down

0 comments on commit 9faec96

Please sign in to comment.