src/components/graffiti/index.vue
@@ -150,7 +150,7 @@ imgData.setAttribute("crossOrigin", ""); } imgData.onload = () => { this.context.drawImage(imgData, 0, 0, this.imgWidth, this.imgHeight); this.context.drawImage(imgData, 0, 0, Math.min(window.innerWidth,this.imgWidth),this.imgHeight); }; }; resetCanvas(); @@ -336,6 +336,7 @@ display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; height: 88px; }