1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Merge pull request #2746 from matrix-org/bwindels/flairnolayout

Prevent flair pushing timeline downwards
This commit is contained in:
Bruno Windels
2019-03-05 15:34:09 +01:00
committed by GitHub
2 changed files with 10 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ export default class Flair extends React.Component {
render() {
if (this.state.profiles.length === 0) {
return <div />;
return <span className="mx_Flair" />;
}
const avatars = this.state.profiles.map((profile, index) => {
return <FlairAvatar key={index} groupProfile={profile} />;