Revert "Explicitly set height on rust logo <img> element in docs"
This reverts commit d79a01b72f4722611cb21b719e6243aad3e7ec3c.
This commit is contained in:
parent
5a3625d426
commit
f998182fb4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue