Fix to sidebar chevron

This commit is contained in:
Jori Lallo
2017-10-15 18:43:26 -07:00
parent 06def29564
commit 5f5780ef72

View File

@@ -16,7 +16,7 @@ const activeStyle = {
const StyleableDiv = props => <div {...props} />;
const styleComponent = component => styled(component)`
display: block;
display: flex;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
@@ -42,7 +42,7 @@ function SidebarLink(props: Object) {
<Flex>
<Component exact activeStyle={activeStyle} {...props}>
{props.hasChildren && <StyledChevron expanded={props.expanded} />}
{props.children}
<div>{props.children}</div>
</Component>
</Flex>
);