mirror of
https://github.com/outline/outline.git
synced 2026-12-04 02:20:17 +03:00
Fix to sidebar chevron
This commit is contained in:
1 parent
06def29564
commit
5f5780ef72
1 file changed
+2
-2
@@ -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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user