mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: add quiet zone to QR code (#19771)
Add quiet zone to QR code This is needed for the QR code to be readable by many QR readers. It is also a requirement for it to be a valid QR code.
This commit is contained in:
parent
cc471806fe
commit
d5923241b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue