From bd6113af6bbf896aad2157edc45685fe1d04acad 2015-01-27 05:42:22 From: Min RK Date: 2015-01-27 05:42:22 Subject: [PATCH] "fix" the pager - pull the pager element out of `#site` - fix top to `auto` instead of `inherit` --- diff --git a/IPython/html/static/notebook/less/pager.less b/IPython/html/static/notebook/less/pager.less index c36b003..605d136 100644 --- a/IPython/html/static/notebook/less/pager.less +++ b/IPython/html/static/notebook/less/pager.less @@ -16,7 +16,7 @@ div#pager { z-index: 100; /* Hack which prevents jquery ui resizable from changing top. */ - top: inherit !important; + top: auto !important; pre { line-height: @code_line_height; diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 90127fd..a1728ab 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -10903,7 +10903,7 @@ div#pager { /* Display over codemirror */ z-index: 100; /* Hack which prevents jquery ui resizable from changing top. */ - top: inherit !important; + top: auto !important; } div#pager pre { line-height: 1.21429em; diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 280a3b0..64490e6 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -287,13 +287,16 @@ data-notebook-path="{{notebook_path}}" {% block site %} -
+{% endblock %} + +{% block after_site %} +
@@ -303,10 +306,8 @@ data-notebook-path="{{notebook_path}}" - {% endblock %} - {% block script %} {{super()}}