Skip to content

Commit

Permalink
Fix cropper position when max-height set
Browse files Browse the repository at this point in the history
Mawi137 committed Mar 26, 2018
1 parent 4868e86 commit 8c8a1e3
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-image-cropper",
"version": "0.1.27",
"version": "0.1.28",
"description": "An image cropper for Angular",
"main": "./bundles/ngx-image-cropper.umd.js",
"module": "./ngx-image-cropper/ngx-image-cropper.es5.js",
1 change: 1 addition & 0 deletions src/image-cropper.component.html
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@
[style.left.px]="cropper.x1"
[style.width.px]="cropper.x2 - cropper.x1"
[style.height.px]="cropper.y2 - cropper.y1"
[style.margin-left]="marginLeft"
[style.visibility]="imageVisible ? 'visible' : 'hidden'"
>
<div

0 comments on commit 8c8a1e3

Please sign in to comment.