lib/snapshot/page.html.erb in snapshot-0.9.3 vs lib/snapshot/page.html.erb in snapshot-0.10.0
- old
+ new
@@ -132,10 +132,9 @@
// beautify
var tmpImg = new Image();
tmpImg.src = img.src;
imageDisplay.style.height = 'auto';
imageDisplay.style.width = 'auto';
- imageDisplay.style.paddingTop = '20px';
if (window.innerHeight < tmpImg.height) {
imageDisplay.style.height = document.documentElement.clientHeight+'px';
} else if (window.innerWidth < tmpImg.width) {
imageDisplay.style.width = document.documentElement.clientWidth;+'px';
} else {