Skip to content

Commit 52a7169

Browse files
committed
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.
1 parent 65445a5 commit 52a7169

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,11 +1316,6 @@ h3.variant {
13161316
font-size: 1.25rem;
13171317
}
13181318

1319-
/* Example code has the "Run" button that needs to be positioned relative to the pre */
1320-
pre.rust.rust-example-rendered {
1321-
position: relative;
1322-
}
1323-
13241319
pre.rust {
13251320
tab-size: 4;
13261321
-moz-tab-size: 4;

0 commit comments

Comments
 (0)