Changed the overflow tile styling, but there is no collpased state or mention count yet

This commit is contained in:
wmwragg 2016-09-16 10:48:52 +01:00
parent 24d0b95cb2
commit 737d1d8843
3 changed files with 68 additions and 7 deletions

View file

@ -424,12 +424,20 @@ var RoomSubList = React.createClass({
_createOverflowTile: function(overflowCount, totalCount) {
var BaseAvatar = sdk.getComponent('avatars.BaseAvatar');
// XXX: this is duplicated from RoomTile - factor it out
// return (
// <div className="mx_RoomTile mx_RoomTile_ellipsis" onClick={this._showFullMemberList}>
// <div className="mx_RoomTile_avatar">
// <BaseAvatar url="img/ellipsis.svg" name="..." width={24} height={24} />
// </div>
// <div className="mx_RoomTile_name">and { overflowCount } others...</div>
// </div>
// );
return (
<div className="mx_RoomTile mx_RoomTile_ellipsis" onClick={this._showFullMemberList}>
<div className="mx_RoomTile_avatar">
<BaseAvatar url="img/ellipsis.svg" name="..." width={24} height={24} />
</div>
<div className="mx_RoomTile_name">and { overflowCount } others...</div>
<div className="mx_RoomTile_line"></div>
<div className="mx_RoomTile_more">more</div>
<div className="mx_RoomTile_moreBadge"></div>
<div className="mx_RoomTile_chevronDown"></div>
</div>
);
},