Skip to content

Commit

Permalink
Merge pull request #52 from School-of-Company/update/qr-size
Browse files Browse the repository at this point in the history
🔀 Qr 코드 사이즈 변경
  • Loading branch information
Ethen1264 authored Dec 9, 2024
2 parents 6368e84 + 62a73e3 commit 4e40317
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/model/printUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const printBadge = (selectedData: {
<div class="qr-container">
${
isBase64
? `<img src="data:image/png;base64,${selectedData.qrCode}" alt="QR Code" />`
? `<img src="data:image/png;base64,${selectedData.qrCode}" alt="QR Code" width="100" height="100" />`
: `<div id="qrcode"></div>`
}
</div>
Expand All @@ -69,8 +69,8 @@ export const printBadge = (selectedData: {
? `<script>
new QRCode("qrcode", {
text: "${selectedData.qrCode}",
width: 96,
height: 96
width: 100,
height: 100
});
window.onload = function() {
window.print();
Expand Down

0 comments on commit 4e40317

Please sign in to comment.