diff --git a/IPython/frontend/html/notebook/static/notebook/less/pager.less b/IPython/frontend/html/notebook/static/notebook/less/pager.less
index ea6ec58..805f8fc 100644
--- a/IPython/frontend/html/notebook/static/notebook/less/pager.less
+++ b/IPython/frontend/html/notebook/static/notebook/less/pager.less
@@ -4,7 +4,7 @@ div#pager_splitter {
#pager-container {
position: relative;
- padding: 15px;
+ padding: 15px 0px;
}
div#pager {
diff --git a/IPython/frontend/html/notebook/static/style/style.min.css b/IPython/frontend/html/notebook/static/style/style.min.css
index bf14a8b..d911b50 100644
--- a/IPython/frontend/html/notebook/static/style/style.min.css
+++ b/IPython/frontend/html/notebook/static/style/style.min.css
@@ -1513,7 +1513,7 @@ span.input_prompt{font-family:inherit;}
input.raw_input{font-family:inherit;font-size:inherit;color:inherit;width:auto;margin:-2px 0px 0px 1px;padding-left:1px;padding-top:2px;height:1em;}
p.p-space{margin-bottom:10px;}
div#pager_splitter{height:8px;}
-#pager-container{position:relative;padding:15px;}
+#pager-container{position:relative;padding:15px 0px;}
div#pager{overflow:auto;display:none;}div#pager pre{font-size:13px;line-height:1.231em;color:#000000;background-color:#f7f7f7;padding:0.4em;}
.shortcut_key{display:inline-block;width:15ex;text-align:right;font-family:monospace;}
.rendered_html{color:black;}.rendered_html em{font-style:italic;}