mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Separate sender profile into elements with classes
For separate CSS manipulation so that we can vary opacity independently for flair/name/aux
This commit is contained in:
parent
668e096194
commit
e2ae6e6235
1 changed files with 2 additions and 2 deletions
|
@ -32,9 +32,9 @@ export default function SenderProfile(props) {
|
|||
|
||||
return (
|
||||
<div className="mx_SenderProfile" dir="auto" onClick={props.onClick}>
|
||||
<EmojiText>{name || ''}</EmojiText>
|
||||
<EmojiText className="mx_SenderProfile_name">{name || ''}</EmojiText>
|
||||
{props.enableFlair ? <Flair userId={mxEvent.getSender()} /> : null}
|
||||
{props.aux ? <EmojiText> {props.aux}</EmojiText> : null}
|
||||
{props.aux ? <EmojiText className="mx_SenderProfile_aux"> {props.aux}</EmojiText> : null}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue