Skip to content

Commit 49b1be2

Browse files
committed
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.
1 parent 1158367 commit 49b1be2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ nav.sub {
329329
.logo-container > img {
330330
max-width: 100px;
331331
max-height: 100px;
332+
height: 100%;
332333
position: absolute;
333334
left: 50%;
334335
top: 50%;

0 commit comments

Comments
 (0)