Show More
@@ -36,10 +36,11 b' document.write( \'<link rel="stylesheet" href="{{resources.reveal.url_prefix}}/cs' | |||||
36 |
|
36 | |||
37 | <style type="text/css"> |
|
37 | <style type="text/css"> | |
38 | /* Overrides of notebook CSS for static HTML export */ |
|
38 | /* Overrides of notebook CSS for static HTML export */ | |
|
39 | html { | |||
|
40 | overflow-y: auto; | |||
|
41 | } | |||
39 | .reveal { |
|
42 | .reveal { | |
40 | font-size: 20px; |
|
43 | font-size: 20px; | |
41 | overflow-y: auto; |
|
|||
42 | overflow-x: hidden; |
|
|||
43 | } |
|
44 | } | |
44 | .reveal pre { |
|
45 | .reveal pre { | |
45 | width: 95%; |
|
46 | width: 95%; | |
@@ -157,7 +158,8 b' window.onload = function () {' | |||||
157 |
|
158 | |||
158 | <script> |
|
159 | <script> | |
159 | Reveal.addEventListener( 'slidechanged', function( event ) { |
|
160 | Reveal.addEventListener( 'slidechanged', function( event ) { | |
160 | MathJax.Hub.Rerender(event.currentSlide); |
|
161 | window.scrollTo(0,0); | |
|
162 | MathJax.Hub.Rerender(event.currentSlide); | |||
161 | }); |
|
163 | }); | |
162 | </script> |
|
164 | </script> | |
163 |
|
165 |
General Comments 0
You need to be logged in to leave comments.
Login now