diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-29 10:08:12 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-09-29 10:08:12 -0700 |
| commit | 52a71698fe87c82e0f5dfb2b39ec68c4e5026b07 (patch) | |
| tree | dbfc98d9404e3cce52d9a2faa7ac0f67bc88b6d4 /src/librustdoc/html/static | |
| parent | 65445a571c11f07f4ca1ed0f63bad247ae295bd0 (diff) | |
| download | rust-52a71698fe87c82e0f5dfb2b39ec68c4e5026b07.tar.gz rust-52a71698fe87c82e0f5dfb2b39ec68c4e5026b07.zip | |
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')
| -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 7bc8fbb1ea7..aa0fea96557 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1316,11 +1316,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; |
