From 65fba24d92df4557fdab3dee766375bf166bd4b0 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 5 Feb 2014 12:45:52 -0800 Subject: [PATCH] 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 %}