From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH widget-toolkit] window: addtotp: Increase the size of the quiet zone
Date: Tue, 13 Jun 2023 15:32:22 +0200 [thread overview]
Message-ID: <20230613133222.169990-1-m.sandoval@proxmox.com> (raw)
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 <m.sandoval@proxmox.com>
---
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',
},
},
--
2.39.2
next reply other threads:[~2023-06-13 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-13 13:32 Maximiliano Sandoval [this message]
2023-06-16 13:56 ` [pve-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230613133222.169990-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox