fix comedy scrolling parallax avatar initial bug

This commit is contained in:
Matthew Hodgson 2015-11-09 12:41:23 +00:00
parent 66add5673b
commit 1f69760173
2 changed files with 5 additions and 1 deletions

View file

@ -23,4 +23,8 @@ limitations under the License.
position: absolute;
color: #fff;
text-align: center;
}
.mx_MemberAvatar_wrapper {
position: relative;
}

View file

@ -49,7 +49,7 @@ module.exports = React.createClass({
initial = this.props.member.name[1].toUpperCase();
return (
<span>
<span className="mx_MemberAvatar_wrapper">
<span className="mx_MemberAvatar_initial"
style={{ fontSize: (this.props.width * 0.75) + "px",
width: this.props.width + "px",