File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ function generateOverlayTemplate(
37
37
onmouseleave="this.querySelector('div').style.opacity=1,this.querySelector('img').style.opacity=0"
38
38
>
39
39
<h3>New screenshot:</h3>
40
- <img style="width:100%;opacity:0" src="data:image/png;base64,${ imgNewBase64 } " />
40
+ <img style="min-width:300px; width:100%;opacity:0" src="data:image/png;base64,${ imgNewBase64 } " />
41
41
<div style="position:absolute;top:0;left:0;background:#fff">
42
42
<h3>Old screenshot (hover over to see the new one):</h3>
43
- <img style="width:100%" src="data:image/png;base64,${ imgOldBase64 } " />
43
+ <img style="min-width:300px; width:100%" src="data:image/png;base64,${ imgOldBase64 } " />
44
44
</div>
45
45
</div>
46
46
<div style="background:#fff;border:solid 15px #fff">
47
47
<h3>Diff between new and old screenshot</h3>
48
- <img style="width:100%" src="data:image/png;base64,${ imgDiffBase64 } " />
48
+ <img style="min-width:300px; width:100%" src="data:image/png;base64,${ imgDiffBase64 } " />
49
49
</div>
50
50
</div>
51
51
</div>` ;
You can’t perform that action at this time.
0 commit comments