Skip to content

Commit

Permalink
Rollup merge of rust-lang#53806 - GuillaumeGomez:fix-ui-issues-foreig…
Browse files Browse the repository at this point in the history
…n-type-impls, r=QuietMisdreavus

Fix UI issues on Implementations on Foreign types

Fixes rust-lang#53800.

<img width="1440" alt="screen shot 2018-08-29 at 22 06 35" src="https://user-images.githubusercontent.com/3050060/44814733-e9986180-abdd-11e8-97e0-0e3c1816ca04.png">

r? @QuietMisdreavus
  • Loading branch information
pietroalbini authored Aug 30, 2018
2 parents 78d5509 + e08a84a commit 6b1fffa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ h4 > code, h3 > code, .invisible > code {
top: -9px;
left: -13px;
}
.methods > .stability {
margin-top: -8px;
}

#main > .stability {
margin-top: 0;
Expand Down
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/themes/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,7 @@ kbd {
.search-results td span.grey {
color: #ccc;
}

.impl-items code {
background-color: rgba(0, 0, 0, 0);
}
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/themes/light.css
Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,7 @@ kbd {
.search-results td span.grey {
color: #999;
}

.impl-items code {
background-color: rgba(0, 0, 0, 0);
}

0 comments on commit 6b1fffa

Please sign in to comment.