Fixed sidebar link issue
This commit is contained in:
parent
5f5780ef72
commit
832a7abaf6
|
@ -42,7 +42,7 @@ function SidebarLink(props: Object) {
|
|||
<Flex>
|
||||
<Component exact activeStyle={activeStyle} {...props}>
|
||||
{props.hasChildren && <StyledChevron expanded={props.expanded} />}
|
||||
<div>{props.children}</div>
|
||||
<Content>{props.children}</Content>
|
||||
</Component>
|
||||
</Flex>
|
||||
);
|
||||
|
@ -62,4 +62,8 @@ const StyledChevron = styled(ChevronIcon)`
|
|||
}
|
||||
`;
|
||||
|
||||
const Content = styled.div`
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
export default SidebarLink;
|
||||
|
|
Reference in New Issue