Skip to content

Commit 1565699

Browse files
committed
Auto merge of rust-lang#77644 - GuillaumeGomez:fix-tooltip-text-display, r=jyn514
Fix tooltip text display Currently, when we hover the icon, the text doesn't show up: ![Screenshot from 2020-10-07 11-30-44](https://user-images.githubusercontent.com/3050060/95313768-cc402200-0890-11eb-95a4-a1ae8e38aee1.png) The bug was spotted by `@Nemo157` r? `@jyn514`
2 parents 9c07010 + 0e45ad8 commit 1565699

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/html/static/rustdoc.css

+4
Original file line numberDiff line numberDiff line change
@@ -1098,6 +1098,10 @@ h3 > .collapse-toggle, h4 > .collapse-toggle {
10981098
border-style: solid;
10991099
}
11001100

1101+
.tooltip:hover .tooltiptext {
1102+
display: inline;
1103+
}
1104+
11011105
.tooltip.compile_fail, .tooltip.should_panic, .tooltip.ignore {
11021106
font-weight: bold;
11031107
font-size: 20px;

0 commit comments

Comments
 (0)