max-height and overflow for code blocks (closes #16)
authorHakim El Hattab <hakim.elhattab@gmail.com>
Fri, 28 Sep 2012 13:11:17 +0000 (09:11 -0400)
committerHakim El Hattab <hakim.elhattab@gmail.com>
Fri, 28 Sep 2012 13:11:17 +0000 (09:11 -0400)
css/main.css

index 691f47b34ea220b0431f4242c5fbff1693b956ae..2a79a61c3042c9da36f58f8cb1198e79fef5092b 100644 (file)
@@ -212,7 +212,8 @@ body {
 
 .reveal code {
        font-family: monospace;
-       overflow-x: auto;
+       overflow: auto;
+       max-height: 400px;
 }
 
 .reveal table th,