make editable list look like something closer to design

This commit is contained in:
Bruno Windels 2020-03-16 17:29:35 +01:00
parent f7eecc0921
commit db10fcd2b7
2 changed files with 16 additions and 3 deletions

View file

@ -78,8 +78,7 @@ export class EditableItem extends React.Component {
return (
<div className="mx_EditableItem">
<img src={require("../../../../res/img/feather-customised/cancel.svg")} width={14} height={14}
onClick={this._onRemove} className="mx_EditableItem_delete" alt={_t("Remove")} />
<div onClick={this._onRemove} className="mx_EditableItem_delete" title={_t("Remove")} role="button" />
<span className="mx_EditableItem_item">{this.props.value}</span>
</div>
);