cli icon indicating copy to clipboard operation
cli copied to clipboard

Revert "[PER-5758] fix canvas-to-image width handling"

Open prklm10 opened this issue 2 months ago • 0 comments

Reverts percy/cli#1995 We already copy those attributes,

for (let { name, value } of canvas.attributes) {
    img.setAttribute(name, value);
  }

So we don't need the below. So previous was good.

if (canvas.style.maxWidth) {
    img.style.maxWidth = canvas.style.maxWidth;
  }
Screenshot 2025-10-28 at 6 25 36 PM

prklm10 avatar Oct 28 '25 12:10 prklm10