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.st...@proxmox.com> --- src/window/AddTotp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window/AddTotp.js b/src/window/AddTotp.js index 080b361..53fdaad 100644 --- a/src/window/AddTotp.js +++ b/src/window/AddTotp.js @@ -224,11 +224,11 @@ Ext.define('Proxmox.window.AddTotp', { visible: '{!secretEmpty}', }, style: { - 'margin-left': 'auto', - 'margin-right': 'auto', + margin: '5px auto', padding: '5px', width: '266px', height: '266px', + 'background-color': 'white', }, }, { -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel