Merge pull request #5036 from jdfreder/ff-exticon

FF Fix: ext link icon same line as link text in help menu
This commit is contained in:
Thomas Kluyver 2014-02-05 14:08:18 -08:00
commit ccaa3872a5
3 changed files with 13 additions and 1 deletions

View File

@ -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;
}
}

View File

@ -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}

View File

@ -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>