From 6f1dfee81b57e138c8447d43aa5a2c2d55b1c4ce Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 18 Aug 2013 15:40:11 -0400 Subject: ensure that syntax highlighted code works with remaining-height helper --- css/reveal.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'css/reveal.css') diff --git a/css/reveal.css b/css/reveal.css index f51f966..72b9232 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -318,6 +318,14 @@ body { max-height: 400px; word-wrap: normal; } +.reveal pre.remaining-height code { + height: 100%; + max-height: 100%; + + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} .reveal table th, .reveal table td { -- cgit v1.2.3