Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 1f99e15

Browse files
FIx member info avatar
1 parent b4dcd50 commit 1f99e15

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/components/views/avatars/BaseAvatar.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,11 @@ export default createReactClass({
165165
const initialLetter = AvatarLogic.getInitialLetter(name);
166166
const textNode = (
167167
<span className="mx_BaseAvatar_initial" aria-hidden="true"
168-
style={{ fontSize: toRem(width * 0.65),
169-
width: toRem(width),
170-
lineHeight: toRem(height) }}
168+
style={{
169+
fontSize: toRem(width * 0.65),
170+
width: toRem(width),
171+
lineHeight: toRem(height),
172+
}}
171173
>
172174
{ initialLetter }
173175
</span>
@@ -223,7 +225,7 @@ export default createReactClass({
223225
onError={this.onError}
224226
style={{
225227
width: toRem(width),
226-
height: toRem(height)
228+
height: toRem(height),
227229
}}
228230
title={title} alt=""
229231
ref={inputRef}

0 commit comments

Comments
 (0)