Skip to content

Commit 494e29d

Browse files
Fix codeblock tooltip position
1 parent 2b8fbe6 commit 494e29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/rustdoc.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1346,7 +1346,7 @@ h4 > .notable-traits {
13461346
to prevent an overlay between the "collapse toggle" and the information tooltip.
13471347
However, it's not needed with smaller screen width because the doc/code block is always put
13481348
"one line" below. */
1349-
.information:first-child > .tooltip {
1349+
.docblock > .information:first-child > .tooltip {
13501350
margin-top: 16px;
13511351
}
13521352
}

0 commit comments

Comments
 (0)