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`
This commit is contained in:
Matthias Krüger 2022-09-18 02:55:30 +02:00 committed by GitHub
commit fb20485592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {