Skip to content

Commit 7814084

Browse files
authored
Rollup merge of #102481 - notriddle:notriddle/rust-example-rendered, r=GuillaumeGomez
rustdoc: remove unneeded CSS `.rust-example-rendered { position }` The Run button isn't inside the `<pre>` any more. It's instead nested below the example wrapper. The class name can't be removed from the DOM, because `main.js` uses it.
2 parents 473d04c + 52a7169 commit 7814084

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/librustdoc/html/static/css/rustdoc.css

-5
Original file line numberDiff line numberDiff line change
@@ -1322,11 +1322,6 @@ h3.variant {
13221322
font-size: 1.25rem;
13231323
}
13241324

1325-
/* Example code has the "Run" button that needs to be positioned relative to the pre */
1326-
pre.rust.rust-example-rendered {
1327-
position: relative;
1328-
}
1329-
13301325
pre.rust {
13311326
tab-size: 4;
13321327
-moz-tab-size: 4;

0 commit comments

Comments
 (0)