From 1f697601738faa6edbb435d2c9779ea337f37095 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Mon, 9 Nov 2015 12:41:23 +0000 Subject: [PATCH] fix comedy scrolling parallax avatar initial bug --- src/skins/vector/css/atoms/MemberAvatar.css | 4 ++++ src/skins/vector/views/atoms/MemberAvatar.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/css/atoms/MemberAvatar.css b/src/skins/vector/css/atoms/MemberAvatar.css index 616882fd5..97dae35f7 100644 --- a/src/skins/vector/css/atoms/MemberAvatar.css +++ b/src/skins/vector/css/atoms/MemberAvatar.css @@ -23,4 +23,8 @@ limitations under the License. position: absolute; color: #fff; text-align: center; +} + +.mx_MemberAvatar_wrapper { + position: relative; } \ No newline at end of file diff --git a/src/skins/vector/views/atoms/MemberAvatar.js b/src/skins/vector/views/atoms/MemberAvatar.js index 088e7de26..c4153b85c 100644 --- a/src/skins/vector/views/atoms/MemberAvatar.js +++ b/src/skins/vector/views/atoms/MemberAvatar.js @@ -49,7 +49,7 @@ module.exports = React.createClass({ initial = this.props.member.name[1].toUpperCase(); return ( - +