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.
This commit is contained in:
Thomas de Zeeuw 2021-07-22 17:57:06 +02:00
parent 1158367a6d
commit 49b1be2c32

View File

@ -329,6 +329,7 @@ nav.sub {
.logo-container > img { .logo-container > img {
max-width: 100px; max-width: 100px;
max-height: 100px; max-height: 100px;
height: 100%;
position: absolute; position: absolute;
left: 50%; left: 50%;
top: 50%; top: 50%;