Fix alignment of avatars and status messages
also introduce the status message to the MemberInfo pane Part of https://github.com/vector-im/riot-web/issues/1528
This commit is contained in:
parent
ce7969e3d5
commit
cd9ea2b2d7
6 changed files with 32 additions and 9 deletions
|
@ -131,7 +131,7 @@ const EntityTile = React.createClass({
|
|||
nameClasses += ' mx_EntityTile_name_hover';
|
||||
}
|
||||
if (this.props.subtextLabel) {
|
||||
presenceLabel = <span className="mx_PresenceLabel">{this.props.subtextLabel}</span>;
|
||||
presenceLabel = <span className="mx_EntityTile_subtext">{this.props.subtextLabel}</span>;
|
||||
}
|
||||
nameEl = (
|
||||
<div className="mx_EntityTile_details">
|
||||
|
@ -148,7 +148,7 @@ const EntityTile = React.createClass({
|
|||
<EmojiText element="div" className="mx_EntityTile_name" dir="auto">
|
||||
{name}
|
||||
</EmojiText>
|
||||
<span className="mx_PresenceLabel">{this.props.subtextLabel}</span>
|
||||
<span className="mx_EntityTile_subtext">{this.props.subtextLabel}</span>
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue