web: Components: Fixed role position at Avatar component
This commit is contained in:
parent
83230999d3
commit
707a0bc9c9
@ -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 =>
|
||||
|
Loading…
Reference in New Issue
Block a user