Skip to content

Commit 6b1fffa

Browse files
authored
Rollup merge of rust-lang#53806 - GuillaumeGomez:fix-ui-issues-foreign-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
2 parents 78d5509 + e08a84a commit 6b1fffa

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+3
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,9 @@ h4 > code, h3 > code, .invisible > code {
510510
top: -9px;
511511
left: -13px;
512512
}
513+
.methods > .stability {
514+
margin-top: -8px;
515+
}
513516

514517
#main > .stability {
515518
margin-top: 0;

src/librustdoc/html/static/themes/dark.css

+4
Original file line numberDiff line numberDiff line change
@@ -407,3 +407,7 @@ kbd {
407407
.search-results td span.grey {
408408
color: #ccc;
409409
}
410+
411+
.impl-items code {
412+
background-color: rgba(0, 0, 0, 0);
413+
}

src/librustdoc/html/static/themes/light.css

+4
Original file line numberDiff line numberDiff line change
@@ -401,3 +401,7 @@ kbd {
401401
.search-results td span.grey {
402402
color: #999;
403403
}
404+
405+
.impl-items code {
406+
background-color: rgba(0, 0, 0, 0);
407+
}

0 commit comments

Comments
 (0)