Merge pull request #924 from asaadmahmood/MM-13487
MM-13487 - Updating mention badge in tab bar
This commit is contained in:
@@ -31,7 +31,7 @@ export default class TabBar extends React.Component { // need "this"
|
||||
let badgeDiv;
|
||||
if (sessionExpired) {
|
||||
badgeDiv = (
|
||||
<div className='TabBar-badge TabBar-badge-nomention'>{'•'}</div>
|
||||
<div className='TabBar-badge TabBar-badge-nomention'/>
|
||||
);
|
||||
} else if (mentionCount !== 0) {
|
||||
badgeDiv = (
|
||||
|
@@ -43,19 +43,29 @@
|
||||
background: #FF1744;
|
||||
float: right;
|
||||
color: white;
|
||||
min-width: 19px;
|
||||
min-width: 18px;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
line-height: 20px;
|
||||
height: 19px;
|
||||
height: 18px;
|
||||
margin-left: 5px;
|
||||
margin-top: 5px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||
padding-right: 1px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.TabBar .TabBar-badge.TabBar-badge-nomention {
|
||||
font-size: 22pt;
|
||||
line-height: 18px;
|
||||
.TabBar .TabBar-badge.TabBar-badge-nomention:after {
|
||||
content: "";
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #fff;
|
||||
display: block;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.TabBar .teamTabItem-unread {
|
||||
|
Reference in New Issue
Block a user