mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Lint
This commit is contained in:
parent
b4dcd50d56
commit
b567b95fad
@ -165,9 +165,11 @@ export default createReactClass({
|
|||||||
const initialLetter = AvatarLogic.getInitialLetter(name);
|
const initialLetter = AvatarLogic.getInitialLetter(name);
|
||||||
const textNode = (
|
const textNode = (
|
||||||
<span className="mx_BaseAvatar_initial" aria-hidden="true"
|
<span className="mx_BaseAvatar_initial" aria-hidden="true"
|
||||||
style={{ fontSize: toRem(width * 0.65),
|
style={{
|
||||||
width: toRem(width),
|
fontSize: toRem(width * 0.65),
|
||||||
lineHeight: toRem(height) }}
|
width: toRem(width),
|
||||||
|
lineHeight: toRem(height),
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{ initialLetter }
|
{ initialLetter }
|
||||||
</span>
|
</span>
|
||||||
@ -223,7 +225,7 @@ export default createReactClass({
|
|||||||
onError={this.onError}
|
onError={this.onError}
|
||||||
style={{
|
style={{
|
||||||
width: toRem(width),
|
width: toRem(width),
|
||||||
height: toRem(height)
|
height: toRem(height),
|
||||||
}}
|
}}
|
||||||
title={title} alt=""
|
title={title} alt=""
|
||||||
ref={inputRef}
|
ref={inputRef}
|
||||||
|
Loading…
Reference in New Issue
Block a user