Skip to content

Commit

Permalink
Rollup merge of rust-lang#87376 - Thomasdezeeuw:rustdoc-large-logo, r…
Browse files Browse the repository at this point in the history
…=GuillaumeGomez

Change rustdoc logo to use the full container size

We have a logo in svg that scales nicely to large sizes, but by default
is only 5px large, i.e. very small. With the change the logo expands to
the full size. By only setting the height to 100% we ensure that the
width-height ratio isn't changed.
  • Loading branch information
JohnTitor authored Jul 23, 2021
2 parents 23cedd7 + 49b1be2 commit b1fa06b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ nav.sub {
.logo-container > img {
max-width: 100px;
max-height: 100px;
height: 100%;
position: absolute;
left: 50%;
top: 50%;
Expand Down

0 comments on commit b1fa06b

Please sign in to comment.