mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 04:34:13 -06:00
Add new outlet for plugin notifications, plus use right alignment
This commit is contained in:
parent
b2c73e7045
commit
f3748ce0a9
@ -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>
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user