mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 00:28:20 -05:00
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:
commit
a24e5f47e8
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue