mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-29 00:46:32 +00:00
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:
parent
6a20f7df57
commit
9221e43313
@ -1109,7 +1109,6 @@ pre.rust .doccomment {
|
||||
}
|
||||
|
||||
.example-wrap .tooltip:hover::after {
|
||||
text-align: center;
|
||||
padding: 5px 3px 3px 3px;
|
||||
border-radius: 6px;
|
||||
margin-left: 5px;
|
||||
|
@ -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|,
|
||||
|
Loading…
Reference in New Issue
Block a user