diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-30 10:22:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 10:22:38 +0200 |
| commit | c4a1876900ee75470769a9a66469b14058803905 (patch) | |
| tree | 050b47e401f5706ae254923c0a7c11c4a9592789 /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 6906e64c30ca464c1bafed5b806283665d9e8f58 (diff) | |
| parent | 52a71698fe87c82e0f5dfb2b39ec68c4e5026b07 (diff) | |
| download | rust-c4a1876900ee75470769a9a66469b14058803905.tar.gz rust-c4a1876900ee75470769a9a66469b14058803905.zip | |
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.
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index e92e9137d64..9509335704e 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1322,11 +1322,6 @@ h3.variant { font-size: 1.25rem; } -/* Example code has the "Run" button that needs to be positioned relative to the pre */ -pre.rust.rust-example-rendered { - position: relative; -} - pre.rust { tab-size: 4; -moz-tab-size: 4; |
