From: Hakim El Hattab Date: Fri, 28 Sep 2012 13:11:17 +0000 (-0400) Subject: max-height and overflow for code blocks (closes #16) X-Git-Tag: 2.1.0~63 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=66988b8f0ae28767545631bffd957378f52171b9;p=reveal.js.git max-height and overflow for code blocks (closes #16) --- diff --git a/css/main.css b/css/main.css index 691f47b..2a79a61 100644 --- a/css/main.css +++ b/css/main.css @@ -212,7 +212,8 @@ body { .reveal code { font-family: monospace; - overflow-x: auto; + overflow: auto; + max-height: 400px; } .reveal table th,