Add new outlet for plugin notifications, plus use right alignment

This commit is contained in:
Robin Ward 2015-12-11 16:42:21 -05:00
parent b2c73e7045
commit f3748ce0a9
2 changed files with 4 additions and 3 deletions

View File

@ -48,6 +48,7 @@
{{#if currentUser.unread_private_messages}} {{#if currentUser.unread_private_messages}}
<a href {{action "showUserMenu"}} class='badge-notification unread-private-messages'>{{currentUser.unread_private_messages}}</a> <a href {{action "showUserMenu"}} class='badge-notification unread-private-messages'>{{currentUser.unread_private_messages}}</a>
{{/if}} {{/if}}
{{plugin-outlet "header-notifications"}}
{{/header-dropdown}} {{/header-dropdown}}
{{/if}} {{/if}}
</ul> </ul>

View File

@ -118,14 +118,14 @@
margin-left: 0; margin-left: 0;
} }
.unread-notifications { .unread-notifications {
right: -4px; right: 0;
background-color: scale-color($tertiary, $lightness: 50%); background-color: scale-color($tertiary, $lightness: 50%);
} }
.unread-private-messages { .unread-private-messages {
left: 82px; right: 25px;
} }
.flagged-posts { .flagged-posts {
left: 40px; right: 65px;
} }
} }
.flagged-posts { .flagged-posts {