web: Components: Fixed role position at Avatar component

This commit is contained in:
Ilya Oleshko 2019-08-07 12:31:16 +03:00
parent 83230999d3
commit 707a0bc9c9

View File

@ -31,14 +31,14 @@ const RoleWrapper = styled.div`
position: absolute;
left: ${props =>
(props.size === 'max' && '0px') ||
(props.size === 'big' && '-2px') ||
(props.size === 'medium' && '0px') ||
(props.size === 'big' && '0px') ||
(props.size === 'medium' && '-2px') ||
(props.size === 'small' && '-2px')
};
bottom: ${props =>
(props.size === 'max' && '0px') ||
(props.size === 'big' && '4px') ||
(props.size === 'medium' && '0px') ||
(props.size === 'big' && '5px') ||
(props.size === 'medium' && '3px') ||
(props.size === 'small' && '3px')
};
width: ${props =>