]> git.lizzy.rs Git - rust.git/commitdiff
rustdoc: make source sidebar collapse by default
authorcynecx <me@cynecx.net>
Sun, 10 Oct 2021 20:52:44 +0000 (22:52 +0200)
committerGuillaume Gomez <guillaume.gomez@huawei.com>
Mon, 29 Nov 2021 10:07:19 +0000 (11:07 +0100)
src/librustdoc/html/static/css/rustdoc.css

index a99507a215dd34d2cfe125fb2457db97b328872c..0ba082b1cd78b15c344fefeeeecf2b84ad75eeb7 100644 (file)
@@ -334,7 +334,7 @@ nav.sub {
 }
 
 .source .sidebar {
-       width: unset;
+       width: 0px;
        min-width: 0px;
        max-width: 300px;
        flex-grow: 0;