Skip to content

Commit fb20485

Browse files
authored
Rollup merge of #101953 - GuillaumeGomez:fix-error-code-tooltip, r=notriddle
Fix tooltip display for error codes Fixes #101919. You can test it [here](https://rustdoc.crud.net/imperio/fix-error-code-tooltip/index.html). cc `@jsha` r? `@notriddle`
2 parents 4c0b520 + f45eacc commit fb20485

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/error_index_generator/error-index.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ pre .tooltip::before {
2727
content: " ";
2828
position: absolute;
2929
top: 50%;
30-
left: 16px;
30+
left: 2px;
3131
margin-top: -5px;
3232
border-width: 5px;
3333
border-style: solid;
34+
height: 0px;
3435
}
3536

3637
pre .tooltip:hover::before, pre .tooltip:hover::after {

0 commit comments

Comments
 (0)