about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-02-03 00:14:32 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-02-03 00:14:32 +0100
commitd80a558e4a50d0a89a753c903bd7f7d0d25e7ab4 (patch)
treeba6eea00d1144ed8f8dedeb53a6e5fb9f2b5e3d1 /src/librustdoc/html/static/source-script.js
parent19f8958f827e379be9b0ffc93fca580ec8ffac77 (diff)
downloadrust-d80a558e4a50d0a89a753c903bd7f7d0d25e7ab4.tar.gz
rust-d80a558e4a50d0a89a753c903bd7f7d0d25e7ab4.zip
Improve file list display
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
-rw-r--r--src/librustdoc/html/static/source-script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/source-script.js b/src/librustdoc/html/static/source-script.js
index c5d6fa16f55..509c628ce5a 100644
--- a/src/librustdoc/html/static/source-script.js
+++ b/src/librustdoc/html/static/source-script.js
@@ -94,7 +94,7 @@ function createSidebarToggle() {
     inner1.style.position = "relative";
 
     var inner2 = document.createElement("div");
-    inner2.style.marginTop = "-2px";
+    inner2.style.paddingTop = "3px";
     if (getCurrentValue("rustdoc-source-sidebar-show") === "true") {
         inner2.innerText = "<";
     } else {