Rollup merge of #106217 - notriddle:notriddle/tooltip-center, r=GuillaumeGomez

rustdoc: remove unnecessary `.tooltip::after { text-align: center }`

This doesn't have an effect, since these tooltip are only one line anyway.
This commit is contained in:
Matthias Krüger 2022-12-29 13:16:03 +01:00 committed by GitHub
commit bdf37b7bbb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View file

@ -1106,7 +1106,6 @@ pre.rust .doccomment {
}
.example-wrap .tooltip:hover::after {
text-align: center;
padding: 5px 3px 3px 3px;
border-radius: 6px;
margin-left: 5px;

View file

@ -34,7 +34,6 @@ define-function: (
".docblock .example-wrap.compile_fail .tooltip::after",
{
"content": '"This example deliberately fails to compile"',
"text-align": "center",
"padding": "5px 3px 3px",
"background-color": |background|,
"color": |color|,
@ -74,7 +73,6 @@ define-function: (
".docblock .example-wrap.should_panic .tooltip::after",
{
"content": '"This example panics"',
"text-align": "center",
"padding": "5px 3px 3px",
"background-color": |background|,
"color": |color|,
@ -114,7 +112,6 @@ define-function: (
".docblock .example-wrap.ignore .tooltip::after",
{
"content": '"This example is not tested"',
"text-align": "center",
"padding": "5px 3px 3px",
"background-color": |background|,
"color": |color|,