fix(images): route by id

This commit is contained in:
Sara Vieira 2018-03-21 15:10:37 +00:00
parent 9a9f1f903a
commit 69de33dae9
1 changed files with 9 additions and 5 deletions

View File

@ -69,6 +69,11 @@ const Actions = styled(Flex)`
min-width: 48px;
`;
const ActionsWrapper = styled(Flex)`
height: 100%;
border-left: 1px solid ${props => props.theme.grey};
`;
export const Image = ({
name,
id,
@ -117,11 +122,10 @@ export const Image = ({
</Content>
<PopoverContainer clickable>
<Actions>
<PopoverTarget
box
style={{ borderLeft: '1px solid #D8D8D8' }}
>
<ActionsIcon />
<PopoverTarget box>
<ActionsWrapper alignCenter justifyCenter>
<ActionsIcon />
</ActionsWrapper>
</PopoverTarget>
<Popover placement="bottom">
<PopoverItem disabled={false} onClick={onCreateInstance}>