make file thumbnails match the design

This commit is contained in:
Matthew Hodgson 2015-08-14 14:44:10 +01:00
parent 12e53f5046
commit e1efb165fd
6 changed files with 40 additions and 8 deletions

View file

@ -32,9 +32,12 @@ module.exports = React.createClass({
return (
<span className="mx_MFileTile">
<a href={cli.mxcUrlToHttp(content.url)} target="_blank">
{this.presentableTextForFile(content)}
</a>
<div className="mx_MImageTile_download">
<a href={cli.mxcUrlToHttp(content.url)} target="_blank">
<img src="img/download.png" width="10" height="12"/>
Download {this.presentableTextForFile(content)}
</a>
</div>
</span>
);
},