From 058c35730b3b8b0d3572c6e96093f760c402b727 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 15 Aug 2016 11:30:12 +0800 Subject: Update to hide scrollbar (but scrollable) in the slide mode --- public/css/slide.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'public/css') diff --git a/public/css/slide.css b/public/css/slide.css index bccb7e42..3f79084b 100644 --- a/public/css/slide.css +++ b/public/css/slide.css @@ -280,6 +280,25 @@ pre.mermaid > svg { max-width: 758px; } +html, body { + height: 100%; + width: 100%; + overflow: hidden; +} + +.container { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + overflow-y: scroll; +} + +.container.hidescrollbar { + right: -17px; +} + .reveal { height: 100vh; } -- cgit v1.2.3