diff --git a/CHANGELOG.md b/CHANGELOG.md index a5c16caf..f3af27b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ The "UNDER DEVELOPMENT" section of the Mattermost Desktop changelog appears in t Release date: TBD ### Improvements +- Changed display of unread messages on the team tabbar, they are now shown as bold text #### Windows - Update Mattermost icon for desktop notifications in Windows 10. diff --git a/src/browser/index.jsx b/src/browser/index.jsx index a8690932..a0e6ae96 100644 --- a/src/browser/index.jsx +++ b/src/browser/index.jsx @@ -219,30 +219,16 @@ var TabBar = React.createClass({ var tabs = this.props.teams.map(function(team, index) { var unreadCount = 0; var badgeStyle = { - unread: { - background: '#383838', - float: 'right', - color: 'white', - textAlign: 'center', - marginTop: '5px', - width: '10px', - height: '10px', - marginLeft: '5px', - borderRadius: '50%', - }, - - mention: { - background: '#f1342c', - float: 'right', - color: 'white', - minWidth: '19px', - fontSize: '12px', - textAlign: 'center', - lineHeight: '20px', - height: '19px', - marginLeft: '5px', - borderRadius: '50%', - } + background: '#FF1744', + float: 'right', + color: 'white', + minWidth: '19px', + fontSize: '12px', + textAlign: 'center', + lineHeight: '20px', + height: '19px', + marginLeft: '5px', + borderRadius: '50%', }; if (thisObj.props.unreadCounts[index] > 0) { @@ -262,18 +248,25 @@ var TabBar = React.createClass({ var badge; if (mentionCount != 0) { - badge = (