diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-12-20 08:51:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-20 08:51:16 +0100 |
| commit | 1abbc3f01bd36f632bfecce5ecc7074c7e694c43 (patch) | |
| tree | a9b5dea606815c16f4a1d0245256c1b2388f180b /src/librustdoc/html/static/css/rustdoc.css | |
| parent | 951949c05e9a68776d8d8d0bc252ba7cb9a0ee3c (diff) | |
| parent | ecc8d007e46b6d981b2c6494698be8226c24f605 (diff) | |
| download | rust-1abbc3f01bd36f632bfecce5ecc7074c7e694c43.tar.gz rust-1abbc3f01bd36f632bfecce5ecc7074c7e694c43.zip | |
Rollup merge of #105914 - GuillaumeGomez:simplify-css-examples-code-blocks, r=notriddle
rustdoc: Simplify CSS for scraped code examples code blocks It's another approach than https://github.com/rust-lang/rust/pull/105894 for https://github.com/rust-lang/rust/pull/105823. I simply removed the extra style added for the scraped code blocks which appears to be unneeded. r? `@notriddle`
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index edebb703fee..11e34a3fc7d 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1973,10 +1973,7 @@ in storage.js } .scraped-example .code-wrapper .example-wrap { - display: grid; - grid-template-columns: max-content auto; width: 100%; - overflow-x: auto; overflow-y: hidden; margin-bottom: 0; } @@ -1985,13 +1982,6 @@ in storage.js overflow-x: hidden; } -.scraped-example .code-wrapper .example-wrap pre.rust { - overflow-x: inherit; - width: inherit; - overflow-y: hidden; -} - - .more-examples-toggle { max-width: calc(100% + 25px); margin-top: 10px; |
