We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.tooltip::after { text-align: center }
1 parent 6a20f7d commit 9221e43Copy full SHA for 9221e43
2 files changed
src/librustdoc/html/static/css/rustdoc.css
@@ -1109,7 +1109,6 @@ pre.rust .doccomment {
1109
}
1110
1111
.example-wrap .tooltip:hover::after {
1112
- text-align: center;
1113
padding: 5px 3px 3px 3px;
1114
border-radius: 6px;
1115
margin-left: 5px;
src/test/rustdoc-gui/codeblock-tooltip.goml
@@ -34,7 +34,6 @@ define-function: (
34
".docblock .example-wrap.compile_fail .tooltip::after",
35
{
36
"content": '"This example deliberately fails to compile"',
37
- "text-align": "center",
38
"padding": "5px 3px 3px",
39
"background-color": |background|,
40
"color": |color|,
@@ -74,7 +73,6 @@ define-function: (
74
73
".docblock .example-wrap.should_panic .tooltip::after",
75
76
"content": '"This example panics"',
77
78
79
80
@@ -114,7 +112,6 @@ define-function: (
114
112
".docblock .example-wrap.ignore .tooltip::after",
115
113
116
"content": '"This example is not tested"',
117
118
119
120
0 commit comments