mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-08 16:06:13 +02:00
fix: fix avatar size to keep proportions
This commit is contained in:
@@ -21,6 +21,7 @@ export const AuthorAvatar = styled.img<{ index: number }>`
|
|||||||
position: relative;
|
position: relative;
|
||||||
width: ${AVATAR_SIZE}px;
|
width: ${AVATAR_SIZE}px;
|
||||||
height: ${AVATAR_SIZE}px;
|
height: ${AVATAR_SIZE}px;
|
||||||
|
flex: 0 0 ${AVATAR_SIZE}px;
|
||||||
border: 2px solid #fff;
|
border: 2px solid #fff;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
z-index: ${props => props.index};
|
z-index: ${props => props.index};
|
||||||
|
|||||||
Reference in New Issue
Block a user