From c655b2f577fe7d22e4171b66c0b028c64c70b6ac Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 13 Jun 2023 15:32:22 +0200 Subject: [PATCH] window: addtotp: Increase the size of the quiet zone It is recommended that the quiet zone has the width of 4 blocks, since each block is around 4 pixels each, we need a margin of 16 pixels and a size of 256 + 2 * 16 pixels. Signed-off-by: Maximiliano Sandoval --- src/window/AddTotp.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window/AddTotp.js b/src/window/AddTotp.js index 53fdaad..ac8f32d 100644 --- a/src/window/AddTotp.js +++ b/src/window/AddTotp.js @@ -224,10 +224,10 @@ Ext.define('Proxmox.window.AddTotp', { visible: '{!secretEmpty}', }, style: { - margin: '5px auto', - padding: '5px', - width: '266px', - height: '266px', + margin: '16px auto', + padding: '16px', + width: '288px', + height: '288px', 'background-color': 'white', }, },