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:
parent
1158367a6d
commit
49b1be2c32
@ -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%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user