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

Commit

Permalink
fix: disable svg image dragging in <PatternList>
Browse files Browse the repository at this point in the history
closes #177
  • Loading branch information
marionebl authored and lkuechler committed Dec 27, 2017
1 parent db46bcd commit 44b85ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lsg/patterns/pattern-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,14 @@ const StyledImg = styled.img`
width: 18px;
height: 18px;
margin: 0 auto ${getSpace(Size.XS)}px;
user-drag: none;
user-select: none;
`;

const StyledPatternListItemLabel = styled.div`
text-align: center;
color: ${colors.grey36.toString()};
user-select: none;
`;

export const PatternListItem: React.StatelessComponent<PatternListItemProps> = props => {
Expand Down

0 comments on commit 44b85ef

Please sign in to comment.