Skip to content

Commit

Permalink
Fix codeblock tooltip position
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 22, 2021
1 parent 2b8fbe6 commit 494e29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1346,7 +1346,7 @@ h4 > .notable-traits {
to prevent an overlay between the "collapse toggle" and the information tooltip.
However, it's not needed with smaller screen width because the doc/code block is always put
"one line" below. */
.information:first-child > .tooltip {
.docblock > .information:first-child > .tooltip {
margin-top: 16px;
}
}
Expand Down

0 comments on commit 494e29d

Please sign in to comment.