From f3748ce0a99178ee3268ebac736963bab61dc6ec Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 11 Dec 2015 16:42:21 -0500 Subject: [PATCH] Add new outlet for plugin notifications, plus use right alignment --- app/assets/javascripts/discourse/templates/header.hbs | 1 + app/assets/stylesheets/common/base/header.scss | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/header.hbs b/app/assets/javascripts/discourse/templates/header.hbs index 28da2d800c1..a857ee39573 100644 --- a/app/assets/javascripts/discourse/templates/header.hbs +++ b/app/assets/javascripts/discourse/templates/header.hbs @@ -48,6 +48,7 @@ {{#if currentUser.unread_private_messages}} {{currentUser.unread_private_messages}} {{/if}} + {{plugin-outlet "header-notifications"}} {{/header-dropdown}} {{/if}} diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index 51d5835c2b4..63c41255d77 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -118,14 +118,14 @@ margin-left: 0; } .unread-notifications { - right: -4px; + right: 0; background-color: scale-color($tertiary, $lightness: 50%); } .unread-private-messages { - left: 82px; + right: 25px; } .flagged-posts { - left: 40px; + right: 65px; } } .flagged-posts {