summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-12-29 14:16:33 -0700
committerMichael Howell <michael@notriddle.com>2022-12-29 14:16:33 -0700
commit44fb7e2ea3b00354e3f41b1ca9d0cb4aa89a5027 (patch)
treeca45debe71e0760aeed2847e99e6101fc97b042d /src/librustdoc/html/static/css/rustdoc.css
parente37ff7e71a087fcd799d3e59bcd63e3732d351d3 (diff)
downloadrust-44fb7e2ea3b00354e3f41b1ca9d0cb4aa89a5027.tar.gz
rust-44fb7e2ea3b00354e3f41b1ca9d0cb4aa89a5027.zip
rustdoc: remove redundant CSS `.source .content { overflow: visible }`
When added in 7669f04fb0ddc3d71a1fb44dc1c5c00a6564ae99 / #16066, the page
itself was set to scroll. Now it's set so that the `example-wrap` is
scrolling inside the page, so the overflow setting for the content is
irrelevant.
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index e2d6379c2cb..6a1cc140a07 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -355,10 +355,6 @@ img {
 	max-width: 100%;
 }
 
-.source .content {
-	overflow: visible;
-}
-
 .sub-logo-container, .logo-container {
 	/* zero text boxes so that computed line height = image height exactly */
 	line-height: 0;