Once you see it, you can't unsee it

This commit is contained in:
Tom Moor
2017-11-15 22:28:12 -08:00
parent 6750d6cde7
commit a2052318ad

View File

@@ -121,7 +121,7 @@ class CollectionLink extends Component {
icon={<CollectionIcon expanded={expanded} color={collection.color} />}
iconColor={collection.color}
>
<Flex justify="space-between">
<CollectionName justify="space-between">
{collection.name}
<CollectionAction>
@@ -134,7 +134,7 @@ class CollectionLink extends Component {
open={this.menuOpen}
/>
</CollectionAction>
</Flex>
</CollectionName>
{expanded && (
<Children column>
@@ -232,6 +232,10 @@ const DocumentLink = observer(
}
);
const CollectionName = styled(Flex)`
padding: 0 0 4px;
`;
const CollectionAction = styled.a`
position: absolute;
right: 0;