Skip to content

High performance self-hosted photo and video management solution.

fix: add quiet zone to QR code (#19771)

matthieu-dbd5923241b589
diff --git a/web/src/lib/components/shared-components/qrcode.svelte b/web/src/lib/components/shared-components/qrcode.svelte
index 5fa83e880c..7ac23f8a34 100644
--- a/web/src/lib/components/shared-components/qrcode.svelte
+++ b/web/src/lib/components/shared-components/qrcode.svelte
@@ -10,7 +10,7 @@
const { value, width, alt = $t('alt_text_qr_code') }: Props = $props();
- let promise = $derived(QRCode.toDataURL(value, { margin: 0, width }));
+ let promise = $derived(QRCode.toDataURL(value, { margin: 4, width }));
</script>
<div style="width: {width}px; height: {width}px">