From f282b722f55a647870d8361a8472729ef2318082 2015-02-04 18:33:36 From: Min RK Date: 2015-02-04 18:33:36 Subject: [PATCH] fill #site height with notebook containers avoids cutoff of overlay elements --- diff --git a/IPython/html/static/notebook/less/notebook.less b/IPython/html/static/notebook/less/notebook.less index 5029729..5f73696 100644 --- a/IPython/html/static/notebook/less/notebook.less +++ b/IPython/html/static/notebook/less/notebook.less @@ -8,12 +8,14 @@ #ipython-main-app { .border-box-sizing(); + height: 100%; } div#notebook_panel { margin: 0px; padding: 0px; .border-box-sizing(); + height: 100%; } #notebook { @@ -27,6 +29,7 @@ div#notebook_panel { margin: 0px; outline: none; .border-box-sizing(); + min-height: 100%; } #notebook-container{ diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index 29c7837..13cda70 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -10358,6 +10358,7 @@ h6:hover .anchor-link { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + height: 100%; } div#notebook_panel { margin: 0px; @@ -10365,6 +10366,7 @@ div#notebook_panel { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + height: 100%; } #notebook { font-size: 14px; @@ -10379,6 +10381,7 @@ div#notebook_panel { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; + min-height: 100%; } @media not print { #notebook-container {