add cancel button for lightbox and pare down pointer-events stuff a bit

This commit is contained in:
Matthew Hodgson 2015-12-28 02:15:23 +00:00
parent e9db7b1dcc
commit 8dd90980d8
3 changed files with 22 additions and 5 deletions

View file

@ -118,6 +118,7 @@ module.exports = React.createClass({
<img src={this.props.src} style={style}/>
<div className="mx_ImageView_labelWrapper">
<div className="mx_ImageView_label">
<img className="mx_ImageView_cancel" src="img/cancel-white.svg" width="18" height="18" alt="Close" onClick={ this.props.onFinished }/>
<div className="mx_ImageView_shim">
</div>
<div className="mx_ImageView_name">