fix: fix avatar size to keep proportions (#37)

fix: fix avatar size to keep proportions
This commit is contained in:
Jean-Philippe Sirois
2019-07-30 16:23:09 -04:00
committed by GitHub
+1
View File
@@ -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};