This commit is contained in:
tamaina 2025-08-26 00:34:27 +09:00
parent 1ee5c7283d
commit b42e078016
1 changed files with 5 additions and 5 deletions

View File

@ -88,9 +88,9 @@ function share() {
} }
const qrCodeInstance = new QRCodeStyling({ const qrCodeInstance = new QRCodeStyling({
width: 512, width: 600,
height: 512, height: 600,
margin: 40, margin: 36,
type: 'canvas', type: 'canvas',
data: url.value, data: url.value,
image: instance.iconUrl ? getStaticImageUrl(instance.iconUrl) : '/favicon.ico', image: instance.iconUrl ? getStaticImageUrl(instance.iconUrl) : '/favicon.ico',
@ -102,7 +102,7 @@ const qrCodeInstance = new QRCodeStyling({
imageOptions: { imageOptions: {
hideBackgroundDots: true, hideBackgroundDots: true,
imageSize: 0.3, imageSize: 0.3,
margin: 12, margin: 16,
crossOrigin: 'anonymous', crossOrigin: 'anonymous',
}, },
dotsOptions: { dotsOptions: {
@ -272,7 +272,7 @@ $avatarSize: 58px;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: start; align-items: start;
margin: -4px -2px 0 ($avatarSize * 0.3); margin: -2px -2px 0 ($avatarSize * 0.3);
padding-right: 16px; padding-right: 16px;
max-width: 100%; max-width: 100%;
overflow-x: hidden; overflow-x: hidden;