diff --git a/src/skins/vector/css/atoms/MemberAvatar.css b/src/skins/vector/css/atoms/MemberAvatar.css index 97dae35f7c..3cc6e94b22 100644 --- a/src/skins/vector/css/atoms/MemberAvatar.css +++ b/src/skins/vector/css/atoms/MemberAvatar.css @@ -15,8 +15,8 @@ limitations under the License. */ .mx_MemberAvatar { + position: relative; z-index: 20; - border-radius: 20px; } .mx_MemberAvatar_initial { @@ -25,6 +25,6 @@ limitations under the License. text-align: center; } -.mx_MemberAvatar_wrapper { - position: relative; +.mx_MemberAvatar_image { + border-radius: 20px; } \ No newline at end of file diff --git a/src/skins/vector/css/molecules/MessageComposer.css b/src/skins/vector/css/molecules/MessageComposer.css index 2dbe05b541..bd93f630a7 100644 --- a/src/skins/vector/css/molecules/MessageComposer.css +++ b/src/skins/vector/css/molecules/MessageComposer.css @@ -36,9 +36,9 @@ limitations under the License. height: 70px; } -.mx_MessageComposer .mx_MessageComposer_avatar img { +.mx_MessageComposer .mx_MessageComposer_avatar .mx_MemberAvatar { + display: block; margin-top: 18px; - border-radius: 20px; } .mx_MessageComposer_input { diff --git a/src/skins/vector/views/atoms/MemberAvatar.js b/src/skins/vector/views/atoms/MemberAvatar.js index c4153b85c3..7d96a91f82 100644 --- a/src/skins/vector/views/atoms/MemberAvatar.js +++ b/src/skins/vector/views/atoms/MemberAvatar.js @@ -49,18 +49,18 @@ module.exports = React.createClass({ initial = this.props.member.name[1].toUpperCase(); return ( - + { initial } - ); } return ( - );