From 66988b8f0ae28767545631bffd957378f52171b9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 28 Sep 2012 09:11:17 -0400 Subject: [PATCH] max-height and overflow for code blocks (closes #16) --- css/main.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.26.2