Skip to content

Commit

Permalink
Rollup merge of #101953 - GuillaumeGomez:fix-error-code-tooltip, r=no…
Browse files Browse the repository at this point in the history
…triddle

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`
  • Loading branch information
matthiaskrgr authored Sep 18, 2022
2 parents 4c0b520 + f45eacc commit fb20485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/error_index_generator/error-index.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ pre .tooltip::before {
content: " ";
position: absolute;
top: 50%;
left: 16px;
left: 2px;
margin-top: -5px;
border-width: 5px;
border-style: solid;
height: 0px;
}

pre .tooltip:hover::before, pre .tooltip:hover::after {
Expand Down

0 comments on commit fb20485

Please sign in to comment.