Merge pull request #378 from yueyuzhao/issue/63-fix-watermark-resize

add max-width and max-height properties for watermark image
This commit is contained in:
chrisgarrity 2021-05-11 10:16:17 -04:00 committed by GitHub
commit a24e5f47e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,6 +453,11 @@ z-index: 5;
height: ${css_vh(18.88)}; height: ${css_vh(18.88)};
} }
.watermark img{
max-width: 100%;
max-height: 100%;
}
.watermark > canvas{ .watermark > canvas{
position: absolute; position: absolute;
} }