]> git.lizzy.rs Git - rust.git/commitdiff
improve collapse toggle render (css)
authorRaphaël Huchet <rap2hpoutre@users.noreply.github.com>
Mon, 15 May 2017 15:16:58 +0000 (17:16 +0200)
committerrap2h <raphaelht@gmail.com>
Tue, 16 May 2017 08:34:55 +0000 (10:34 +0200)
src/librustdoc/html/static/rustdoc.css

index 60ea6ed1d8d58753f6f5643b1590bde5f4c4372f..570a1980782131131ff3c05dbe52e6ad0fa621a1 100644 (file)
@@ -617,6 +617,11 @@ a.test-arrow:hover{
        top: 0;
 }
 
+h3 > .collapse-toggle, h4 > .collapse-toggle {
+       font-size: 0.8em;
+       top: 5px;
+}
+
 .toggle-wrapper > .collapse-toggle {
        left: -24px;
        margin-top: 0px;