From 90f10b191b4646338e8798630c9ca03fb0e994c1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Tue, 30 Jul 2019 16:03:08 -0400 Subject: [PATCH] fix: fix avatar size to keep proportions --- src/components/StackedAvatars/styles.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/StackedAvatars/styles.tsx b/src/components/StackedAvatars/styles.tsx index b918fc6..221a086 100644 --- a/src/components/StackedAvatars/styles.tsx +++ b/src/components/StackedAvatars/styles.tsx @@ -21,6 +21,7 @@ export const AuthorAvatar = styled.img<{ index: number }>` position: relative; width: ${AVATAR_SIZE}px; height: ${AVATAR_SIZE}px; + flex: 0 0 ${AVATAR_SIZE}px; border: 2px solid #fff; border-radius: 50%; z-index: ${props => props.index};