about summary refs log tree commit diff
path: root/src/librustdoc/html
diff options
context:
space:
mode:
authorJakob Ståhl <jakob.stahl91@gmail.com>2019-04-25 19:06:04 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-04-29 10:38:58 +0200
commitf998182fb40cace8de8981bd641a8fb93632a4a4 (patch)
tree2ca444c4ef15f604296e29ed5b75e9e01566ab3b /src/librustdoc/html
parent5a3625d426bbd143e8178ae76e4d7939c6c96024 (diff)
downloadrust-f998182fb40cace8de8981bd641a8fb93632a4a4.tar.gz
rust-f998182fb40cace8de8981bd641a8fb93632a4a4.zip
Revert "Explicitly set height on rust logo <img> element in docs"
This reverts commit d79a01b72f4722611cb21b719e6243aad3e7ec3c.
Diffstat (limited to 'src/librustdoc/html')
-rw-r--r--src/librustdoc/html/layout.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 7453c90bf96..acf019fd225 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -183,13 +183,13 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
         if layout.logo.is_empty() {
             format!("<a href='{path}index.html'>\
                      <img src='{static_root_path}rust-logo{suffix}.png' \
-                          alt='logo' width='100' height='100'></a>",
+                          alt='logo' width='100'></a>",
                     path=p,
                     static_root_path=static_root_path,
                     suffix=page.resource_suffix)
         } else {
             format!("<a href='{}index.html'>\
-                     <img src='{}' alt='logo' width='100' height='100'></a>",
+                     <img src='{}' alt='logo' width='100'></a>",
                     p,
                     layout.logo)
         }