diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-07-23 19:27:49 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-23 19:27:49 +0900 |
| commit | fe5799c39909880f4fa01b2f43a3633871d9a217 (patch) | |
| tree | 272e04d51687df0d78e561a4dc5490e136e7f4a4 | |
| parent | 1e33d13d399ed3f8faf7da33d579b1e07900dc39 (diff) | |
| parent | 49b1be2c32a50d0bf5d7f97ef66b686c74117120 (diff) | |
| download | rust-fe5799c39909880f4fa01b2f43a3633871d9a217.tar.gz rust-fe5799c39909880f4fa01b2f43a3633871d9a217.zip | |
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.
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index f86aa06a1aa..c2184e04b76 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -329,6 +329,7 @@ nav.sub { .logo-container > img { max-width: 100px; max-height: 100px; + height: 100%; position: absolute; left: 50%; top: 50%; |
