mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
Lint
This commit is contained in:
parent
b4dcd50d56
commit
b567b95fad
1 changed files with 6 additions and 4 deletions
|
@ -165,9 +165,11 @@ export default createReactClass({
|
|||
const initialLetter = AvatarLogic.getInitialLetter(name);
|
||||
const textNode = (
|
||||
<span className="mx_BaseAvatar_initial" aria-hidden="true"
|
||||
style={{ fontSize: toRem(width * 0.65),
|
||||
width: toRem(width),
|
||||
lineHeight: toRem(height) }}
|
||||
style={{
|
||||
fontSize: toRem(width * 0.65),
|
||||
width: toRem(width),
|
||||
lineHeight: toRem(height),
|
||||
}}
|
||||
>
|
||||
{ initialLetter }
|
||||
</span>
|
||||
|
@ -223,7 +225,7 @@ export default createReactClass({
|
|||
onError={this.onError}
|
||||
style={{
|
||||
width: toRem(width),
|
||||
height: toRem(height)
|
||||
height: toRem(height),
|
||||
}}
|
||||
title={title} alt=""
|
||||
ref={inputRef}
|
||||
|
|
Loading…
Reference in a new issue