fix avatar spacing

pull/1/head
Matthew Hodgson 2015-07-15 04:21:32 +01:00
parent ce38d4ea12
commit b739e7be9e
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ limitations under the License.
.mx_MessageTile_avatar {
padding-left: 12px;
padding-right: 12px;
margin-left: -56px;
margin-left: -64px;
margin-top: -7px;
float: left;
}

View File

@ -90,5 +90,5 @@ limitations under the License.
width: 100%;
-webkit-flex: 0 0 63px;
flex: 0 0 63px;
margin-left: 3px;
margin-right: 2px;
}

View File

@ -47,7 +47,7 @@ module.exports = React.createClass({
return (
<div className="mx_MessageTile">
<div className="mx_MessageTile_avatar">
<img src={ this.props.mxEvent.sender ? MatrixClientPeg.get().getAvatarUrlForMember(this.props.mxEvent.sender, 32, 32, "crop") : null } width="32" height="32"/>
<img src={ this.props.mxEvent.sender ? MatrixClientPeg.get().getAvatarUrlForMember(this.props.mxEvent.sender, 40, 40, "crop") : null } width="40" height="40"/>
</div>
<MessageTimestamp ts={this.props.mxEvent.getTs()} />
<span className="mx_SenderProfile"></span>