Skip to content

Commit e08a84a

Browse files
Fix UI issues on Implementations on Foreign types
1 parent 8785e34 commit e08a84a

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
@@ -509,6 +509,9 @@ h4 > code, h3 > code, .invisible > code {
509509
top: -9px;
510510
left: -13px;
511511
}
512+
.methods > .stability {
513+
margin-top: -8px;
514+
}
512515

513516
nav {
514517
border-bottom: 1px solid;

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)