diff --git a/IPython/html/static/notebook/js/quickhelp.js b/IPython/html/static/notebook/js/quickhelp.js index dc83a9e..e94c944 100644 --- a/IPython/html/static/notebook/js/quickhelp.js +++ b/IPython/html/static/notebook/js/quickhelp.js @@ -52,7 +52,7 @@ var IPython = (function (IPython) { {key: 'Ctrl-m h', help: 'show keyboard shortcuts'} ]; for (var i=0; i'). + body.append($('
').addClass('quickhelp'). append($('').addClass('shortcut_key').html(shortcuts[i].key)). append($('').addClass('shortcut_descr').html(' : ' + shortcuts[i].help)) ); diff --git a/IPython/html/static/notebook/less/quickhelp.less b/IPython/html/static/notebook/less/quickhelp.less index 603c92a..d4aca10 100644 --- a/IPython/html/static/notebook/less/quickhelp.less +++ b/IPython/html/static/notebook/less/quickhelp.less @@ -6,4 +6,10 @@ } .shortcut_descr { + display: inline-block; +} + +div.quickhelp { + float: left; + width: 50%; } diff --git a/IPython/html/static/style/ipython.min.css b/IPython/html/static/style/ipython.min.css index 91beaa0..0941abf 100644 --- a/IPython/html/static/style/ipython.min.css +++ b/IPython/html/static/style/ipython.min.css @@ -159,6 +159,8 @@ div#pager_splitter{height:8px;} #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;} +.shortcut_descr{display:inline-block;} +div.quickhelp{float:left;width:50%;} .rendered_html{color:black;}.rendered_html em{font-style:italic;} .rendered_html strong{font-weight:bold;} .rendered_html u{text-decoration:underline;} diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index e390526..a110bc3 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1526,6 +1526,8 @@ div#pager_splitter{height:8px;} #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;} +.shortcut_descr{display:inline-block;} +div.quickhelp{float:left;width:50%;} .rendered_html{color:black;}.rendered_html em{font-style:italic;} .rendered_html strong{font-weight:bold;} .rendered_html u{text-decoration:underline;}