FIX: flag count displayed at wrong position

This commit is contained in:
Régis Hanol 2014-08-01 19:03:12 +02:00
parent 23b237fd14
commit b414a3590a
2 changed files with 6 additions and 11 deletions

View file

@ -5,10 +5,12 @@
<a href="/admin" class="admin-link"><i class='fa fa-wrench'></i>{{i18n admin_title}}</a>
</li>
<li>
<a href="/admin/flags/active" class="flagged-posts-link"><i class='fa fa-flag'></i>{{i18n flags_title}}</a>
{{#if flaggedPostsCount}}
<a href='/admin/flags/active' title='{{i18n notifications.total_flagged}}' class='badge-notification flagged-posts'>{{flaggedPostsCount}}</a>
{{/if}}
<a href="/admin/flags/active" class="flagged-posts-link">
<i class='fa fa-flag'></i>{{i18n flags_title}}
{{#if flaggedPostsCount}}
<span href='/admin/flags/active' title='{{i18n notifications.total_flagged}}' class='badge-notification flagged-posts'>{{flaggedPostsCount}}</span>
{{/if}}
</a>
</li>
{{/if}}
<li>

View file

@ -225,13 +225,6 @@
// Site map
&#site-map-dropdown {
.flagged-posts {
display: inline-block;
position: absolute;
padding: 3px;
margin-top: -22px;
margin-left: 60px;
}
.heading {
padding: 5px 5px 5px 0;
a {padding: 0 5px;}