feat: added user avatars in author search dropdown (#4551)
* feat: added user avatars in author search dropdown * cleanup * cleanup * feat: added user avatars in author search dropdown * cleanup * cleanup * added user icon * Size tweaks Co-authored-by: Aditya Sharma <aditya167411@gmail.com>
This commit is contained in:
@@ -74,9 +74,10 @@ const CircleImg = styled.img<{ size: number; $showBorder?: boolean }>`
|
||||
width: ${(props) => props.size}px;
|
||||
height: ${(props) => props.size}px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid
|
||||
${(props) =>
|
||||
props.$showBorder === false ? "transparent" : props.theme.background};
|
||||
border: ${(props) =>
|
||||
props.$showBorder === false
|
||||
? "none"
|
||||
: `2px solid ${props.theme.background}`};
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user