Add some letter spacing to two factor textbox

Entering, or reading back sequences of digits is easier when they’re a
bit more spaced out.

This is because we read words as shapes, but read numbers
digit-by-digit.

So this commit adjusts the tracking of the type to put a bit more space
in for textboxes that are going to accept digits.
This commit is contained in:
Chris Hill-Scott
2017-10-16 16:51:44 +01:00
parent 7809a70cf3
commit 57069e427d
5 changed files with 13 additions and 4 deletions

View File

@@ -14,7 +14,9 @@ Create an account
<p>Your account will be created with this email: {{email_address}}</p>
<form method="post" autocomplete="off">
{{ textbox(form.name, width='3-4') }}
{{ textbox(form.mobile_number, width='3-4', hint='Well send you a security code by text message') }}
<div class="extra-tracking">
{{ textbox(form.mobile_number, width='3-4', hint='Well send you a security code by text message') }}
</div>
{{ textbox(form.password, hint="At least 8 characters", width='3-4') }}
{{ page_footer("Continue") }}
{{form.service}}