Skip to content

Commit

Permalink
fix(cropper): expand selection area for resizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Enlcxx committed Jul 10, 2020
1 parent 1c79f5f commit 2536af8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lib/image-cropper/image-cropper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,13 @@ export const STYLES = (theme: ThemeVariables & LyImageCropperVariables, ref: The
? 'nwse-resize'
: 'nesw-resize'
}
&:before {
...${LY_COMMON_STYLES.fill}
content: ''
width: 20px
height: 20px
transform: translate(-25%, -25%)
}
}`,
defaultContent: lyl `{
display: flex
Expand Down

0 comments on commit 2536af8

Please sign in to comment.