Skip to content

Commit

Permalink
Change rustdoc logo to use the full container size
Browse files Browse the repository at this point in the history
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
Thomasdezeeuw committed Jul 22, 2021
1 parent 1158367 commit 49b1be2
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 49b1be2

Please sign in to comment.