about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-30 17:01:40 +0100
committerGitHub <noreply@github.com>2022-12-30 17:01:40 +0100
commit3f9909a7c4183a7e4e46ee346a045ec876ed118b (patch)
tree2fd2f019e6dad6ec947c3c9c7272c10f86dc691c /src/librustdoc/html/static/css/rustdoc.css
parentbd20fc1fd657b32f7aa1d70d8723f04c87f21606 (diff)
parent44fb7e2ea3b00354e3f41b1ca9d0cb4aa89a5027 (diff)
downloadrust-3f9909a7c4183a7e4e46ee346a045ec876ed118b.tar.gz
rust-3f9909a7c4183a7e4e46ee346a045ec876ed118b.zip
Rollup merge of #106273 - notriddle:notriddle/source-content-overflow, r=GuillaumeGomez
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 9fe0dee0588..0813b4a1f5d 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;