From 799cc1b3cb5ac9e8bb279bb442a0f2281177c645 2014-02-05 20:45:52
From: Jonathan Frederic <jdfreder@calpoly.edu>
Date: 2014-02-05 20:45:52
Subject: [PATCH] FF Fix: make ext icon same line as txt

---

diff --git a/IPython/html/static/notebook/less/menubar.less b/IPython/html/static/notebook/less/menubar.less
index 373b998..29189be 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 9e6a193..047aa49 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 %}
-                        <li><a href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}>{{link[1]}}{{'<i class="icon-external-link menu-icon pull-right"></i>' if link[2]}}</a></li>
+                        <li><a href="{{link[0]}}" {{'target="_blank" title="Opens in a new window"' if link[2]}}>
+                        {{'<i class="icon-external-link menu-icon pull-right"></i>' if link[2]}}
+                        {{link[1]}}
+                        </a></li>
                     {% endfor %}
                     {% if not loop.last %}
                         <li class="divider"></li>