Skip to content

Commit 93f96be

Browse files
Fix tooltip position
1 parent bcffdf1 commit 93f96be

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/librustdoc/html/static/rustdoc.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ h3.impl, h3.method, h4.method, h3.type, h4.type, h4.associatedconstant {
109109
position: relative;
110110
}
111111
h3.impl, h3.method, h3.type {
112-
margin-top: 15px;
113112
padding-left: 15px;
114113
}
115114

@@ -467,7 +466,10 @@ h4 > code, h3 > code, .invisible > code {
467466
font-size: 0.8em;
468467
}
469468

470-
.content .methods > div:not(.important-traits) { margin-left: 40px; }
469+
.content .methods > div:not(.important-traits) {
470+
margin-left: 40px;
471+
margin-bottom: 15px;
472+
}
471473

472474
.content .impl-items .docblock, .content .impl-items .stability {
473475
margin-left: 40px;

0 commit comments

Comments
 (0)