Use correct icon for group room deletion and make themeable

Also fix cancel icons to have class mx_filterFlipColor
This commit is contained in:
Luke Barnard 2017-10-26 14:05:58 +01:00
parent 5871a74228
commit eec6ed36cd
7 changed files with 24 additions and 11 deletions

View file

@ -120,8 +120,11 @@ const GroupRoomTile = React.createClass({
<div className="mx_GroupRoomTile_name">
{ this.state.name }
</div>
<AccessibleButton className="mx_GroupRoomTile_delete" onClick={this.onDeleteClick}>
<img src="img/cancel-small.svg" />
<AccessibleButton className="mx_GroupRoomTile_delete"
onClick={this.onDeleteClick}
tooltip={_t("Remove this room from the community")}
>
<img src="img/cancel.svg" width="15" height="15" className="mx_filterFlipColor" />
</AccessibleButton>
</AccessibleButton>
);