From f4b963c9eb68021f8ccec47a33a3e20803702b5a Mon Sep 17 00:00:00 2001 From: Geoff Pleiss Date: Wed, 1 Jul 2015 10:58:24 -0700 Subject: [PATCH] feat(notifications): alert notifications badges no longer need modifier classes [#97701618] --- src/pivotal-ui-react/notifications/notifications.js | 4 ++-- src/pivotal-ui/components/dropdowns/dropdowns.scss | 3 ++- src/pivotal-ui/components/pui-variables.scss | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pivotal-ui-react/notifications/notifications.js b/src/pivotal-ui-react/notifications/notifications.js index 1aaadec39..04c43db27 100644 --- a/src/pivotal-ui-react/notifications/notifications.js +++ b/src/pivotal-ui-react/notifications/notifications.js @@ -86,10 +86,10 @@ var Notifications = React.createClass({ var AlertNotifications = React.createClass({ render() { var {children} = this.props; - var badge = children ? : null; + var badge = children ? : null; var dropdownTitle = (
- + {badge}
); diff --git a/src/pivotal-ui/components/dropdowns/dropdowns.scss b/src/pivotal-ui/components/dropdowns/dropdowns.scss index 46619bf64..e9e2bea0a 100644 --- a/src/pivotal-ui/components/dropdowns/dropdowns.scss +++ b/src/pivotal-ui/components/dropdowns/dropdowns.scss @@ -276,7 +276,7 @@ This is a notification dropdown with alerts.