Skip to content

Commit 7a7ac09

Browse files
authored
Explicitly set display of source image to inline
This prevents CSS resets from overriding the `display` CSS property of the source image, affecting the alignment of the source image.
1 parent e79b046 commit 7a7ac09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

projects/ngx-image-cropper/src/lib/component/image-cropper.component.scss

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
position: relative;
1414

1515
img.ngx-ic-source-image {
16+
display: inline;
1617
max-width: 100%;
1718
max-height: 100%;
1819
transform-origin: center;

0 commit comments

Comments
 (0)