From d53475662b76101cc82caa3767869be979a95258 Mon Sep 17 00:00:00 2001 From: Robert Long <robert@robertlong.me> Date: Fri, 22 Oct 2021 10:46:34 -0700 Subject: [PATCH] Fix facepile styling --- src/Facepile.jsx | 1 + src/Facepile.module.css | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Facepile.jsx b/src/Facepile.jsx index 77d158f..b305c6d 100644 --- a/src/Facepile.jsx +++ b/src/Facepile.jsx @@ -12,6 +12,7 @@ export function Facepile({ participants }) { > {participants.map((member) => ( <div + key={member.userId} className={styles.avatar} style={{ backgroundColor: colorHash.hex(member.name) }} > diff --git a/src/Facepile.module.css b/src/Facepile.module.css index 94b29a4..02c5f6e 100644 --- a/src/Facepile.module.css +++ b/src/Facepile.module.css @@ -1,4 +1,5 @@ .facepile { + display: flex; margin: 0 16px; }