fix #4610: add a small white padding to the totp qr code

some qr code readers need a white "quiet zone" around the main qr
code. otherwise, they won't be able to scan it at all which made it
impossible to scan the totp qr code on certain devices.

Signed-off-by: Stefan Sterz <s.sterz@proxmox.com>
This commit is contained in:
Stefan Sterz 2023-03-23 16:26:56 +01:00 committed by Thomas Lamprecht
parent 0bf2b7fb0b
commit 745aeaacdd

View File

@ -224,11 +224,11 @@ Ext.define('Proxmox.window.AddTotp', {
visible: '{!secretEmpty}', visible: '{!secretEmpty}',
}, },
style: { style: {
'margin-left': 'auto', margin: '5px auto',
'margin-right': 'auto',
padding: '5px', padding: '5px',
width: '266px', width: '266px',
height: '266px', height: '266px',
'background-color': 'white',
}, },
}, },
{ {