From 65fba24d92df4557fdab3dee766375bf166bd4b0 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 5 Feb 2014 12:45:52 -0800 Subject: [PATCH 1/2] FF Fix: make ext icon same line as txt --- IPython/html/static/notebook/less/menubar.less | 8 ++++++++ IPython/html/templates/notebook.html | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/less/menubar.less b/IPython/html/static/notebook/less/menubar.less index 373b998e6..29189be96 100644 --- a/IPython/html/static/notebook/less/menubar.less +++ b/IPython/html/static/notebook/less/menubar.less @@ -23,3 +23,11 @@ i.menu-icon { // add padding to account for float-right padding-top: 4px; } + +ul#help_menu li a{ + overflow: hidden; + padding-right: 2.2em; + i { + margin-right: -1.2em; + } +} \ No newline at end of file diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 9e6a1934c..047aa4905 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -238,7 +238,10 @@ class="notebook_app" {% for helplinks in sections %} {% for link in helplinks %} -
  • {{link[1]}}{{'' if link[2]}}
  • +
  • + {{'' if link[2]}} + {{link[1]}} +
  • {% endfor %} {% if not loop.last %}
  • From a11596f7e703c2420edd11971c553b261d1cc415 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 5 Feb 2014 12:46:20 -0800 Subject: [PATCH 2/2] fab css --- IPython/html/static/style/style.min.css | 1 + 1 file changed, 1 insertion(+) diff --git a/IPython/html/static/style/style.min.css b/IPython/html/static/style/style.min.css index f36939d94..b301b7b25 100644 --- a/IPython/html/static/style/style.min.css +++ b/IPython/html/static/style/style.min.css @@ -1493,6 +1493,7 @@ p{margin-bottom:0} .nav-wrapper{border-bottom:1px solid #d4d4d4} #menubar li.dropdown{line-height:12px} i.menu-icon{padding-top:4px} +ul#help_menu li a{overflow:hidden;padding-right:2.2em}ul#help_menu li a i{margin-right:-1.2em} #notification_area{z-index:10} .notification_widget{color:#777;padding:1px 12px;margin:2px 4px;z-index:10;border:1px solid #ccc;border-radius:4px;background:rgba(240,240,240,0.5)}.notification_widget.span{padding-right:2px} #indicator_area{color:#777;padding:2px 2px;margin:2px -9px 2px 4px;z-index:10}