From ecc8d007e46b6d981b2c6494698be8226c24f605 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 19 Dec 2022 19:53:09 +0100 Subject: [PATCH] Simplify CSS for code examples code blocks --- src/librustdoc/html/static/css/rustdoc.css | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 022ed606cc3..f376258105a 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -1976,10 +1976,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; } @@ -1988,13 +1985,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;