Skip to content

Commit f998182

Browse files
jakstGuillaumeGomez
authored andcommitted
Revert "Explicitly set height on rust logo <img> element in docs"
This reverts commit d79a01b72f4722611cb21b719e6243aad3e7ec3c.
1 parent 5a3625d commit f998182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/layout.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
183183
if layout.logo.is_empty() {
184184
format!("<a href='{path}index.html'>\
185185
<img src='{static_root_path}rust-logo{suffix}.png' \
186-
alt='logo' width='100' height='100'></a>",
186+
alt='logo' width='100'></a>",
187187
path=p,
188188
static_root_path=static_root_path,
189189
suffix=page.resource_suffix)
190190
} else {
191191
format!("<a href='{}index.html'>\
192-
<img src='{}' alt='logo' width='100' height='100'></a>",
192+
<img src='{}' alt='logo' width='100'></a>",
193193
p,
194194
layout.logo)
195195
}

0 commit comments

Comments
 (0)