Skip to content

Commit 3d316a5

Browse files
authored
Rollup merge of rust-lang#49443 - GuillaumeGomez:fix-tooltip-position, r=QuietMisdreavus
Fix tooltip position r? @QuietMisdreavus
2 parents ae544ee + 93f96be commit 3d316a5

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

@@ -470,7 +469,10 @@ h4 > code, h3 > code, .invisible > code {
470469
font-size: 0.8em;
471470
}
472471

473-
.content .methods > div:not(.important-traits) { margin-left: 40px; }
472+
.content .methods > div:not(.important-traits) {
473+
margin-left: 40px;
474+
margin-bottom: 15px;
475+
}
474476

475477
.content .impl-items .docblock, .content .impl-items .stability {
476478
margin-bottom: .6em;

0 commit comments

Comments
 (0)