Skip to content

Commit fe5799c

Browse files
authored
Rollup merge of #87376 - Thomasdezeeuw:rustdoc-large-logo, r=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.
2 parents 1e33d13 + 49b1be2 commit fe5799c

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)