diff --git a/IPython/nbconvert/templates/fullhtml.tpl b/IPython/nbconvert/templates/fullhtml.tpl index 343c17c..b13512c 100644 --- a/IPython/nbconvert/templates/fullhtml.tpl +++ b/IPython/nbconvert/templates/fullhtml.tpl @@ -22,6 +22,7 @@ body { } pre { + padding: 0.2em; border: none; margin: 0px; font-size: 13px; diff --git a/IPython/nbconvert/templates/reveal.tpl b/IPython/nbconvert/templates/reveal.tpl index 7c75bb2..e40999e 100644 --- a/IPython/nbconvert/templates/reveal.tpl +++ b/IPython/nbconvert/templates/reveal.tpl @@ -79,7 +79,7 @@ font-size: 80%; } div.output_prompt { /* 5px right shift to account for margin in parent container */ - margin: 5px 5px 0 -5px; + margin: 5px 5px 0 0; } .rendered_html p { text-align: inherit;