mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
changing value for coditionally assigning org nav margin
This commit is contained in:
parent
1a4e61782e
commit
3b1e116453
@ -45,7 +45,7 @@ const OrgAvatar = styled(Avatar)`
|
||||
`;
|
||||
|
||||
const OrgName = styled.span`
|
||||
margin-left: ${props => props.avatar ? remcalc(12) : 0};
|
||||
margin-left: ${props => props.hasAvatar ? remcalc(12) : 0};
|
||||
margin-top: ${remcalc(3)};
|
||||
color: ${colors.base.text}
|
||||
`;
|
||||
@ -117,7 +117,7 @@ const OrgNavigation = ({
|
||||
width={remcalc(26)}
|
||||
/>
|
||||
</OrgImage>
|
||||
<OrgName avatar={image}>
|
||||
<OrgName hasAvatar>
|
||||
{name}
|
||||
</OrgName>
|
||||
</NavigationLinkContainer>
|
||||
|
Loading…
Reference in New Issue
Block a user