More robust badge positioning

This commit is contained in:
wmwragg 2016-09-16 11:34:16 +01:00
parent e2b695827e
commit 72e108c4f9
2 changed files with 25 additions and 6 deletions

View file

@ -422,12 +422,12 @@ var RoomSubList = React.createClass({
},
_createOverflowTile: function(overflowCount, totalCount) {
var content = <div className="mx_RoomSubList_chevronDown"></div>;
return (
<div className="mx_RoomSubList_ellipsis" onClick={this._showFullMemberList}>
<div className="mx_RoomSubList_line"></div>
<div className="mx_RoomSubList_more">more</div>
<div className="mx_RoomSubList_moreBadge"></div>
<div className="mx_RoomSubList_chevronDown"></div>
<div className="mx_RoomSubList_moreBadge">{ content }</div>
</div>
);
},