From fd1d6480f3a976e338656366c922866954070b0e 2013-10-04 10:00:50 From: Matthias Bussonnier Date: 2013-10-04 10:00:50 Subject: [PATCH] Merge pull request #4322 from damianavila/scrollup Scroll to the top after change of slides in the IPython slides --- diff --git a/IPython/nbconvert/templates/slides_reveal.tpl b/IPython/nbconvert/templates/slides_reveal.tpl index a75039c..adb329a 100644 --- a/IPython/nbconvert/templates/slides_reveal.tpl +++ b/IPython/nbconvert/templates/slides_reveal.tpl @@ -36,10 +36,11 @@ document.write( ' /* Overrides of notebook CSS for static HTML export */ +html { +overflow-y: auto; +} .reveal { font-size: 20px; -overflow-y: auto; -overflow-x: hidden; } .reveal pre { width: 95%; @@ -157,7 +158,8 @@ window.onload = function () {