Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
feat(lsg): bigger click-area for open/close icon on page-element (#62)
Browse files Browse the repository at this point in the history
fix #61
  • Loading branch information
lkuechler authored and tilmx committed Dec 16, 2017
1 parent 822b2b2 commit b78a347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lsg/patterns/element/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ const StyledElementLabel = styled.div`
background: ${colors.grey90.toString()};
}
${(props: StyledElementLabelProps) =>
props.active
? `
Expand Down Expand Up @@ -123,10 +122,11 @@ const StyledElementChild = styled.div`

const StyledIcon = styled(Icon)`
position: absolute;
left: ${getSpace(Size.XS)}px;
left: 0;
fill: ${colors.grey70.toString()};
width: 12px;
height: 12px;
padding: ${getSpace(Size.XS)}px;
transition: transform 0.2s;
${(props: StyledIconProps) => (props.open ? 'transform: rotate(90deg)' : '')};
Expand Down

0 comments on commit b78a347

Please sign in to comment.