Fix padding and enable code

This commit is contained in:
KernelDeimos 2024-05-03 18:54:48 -04:00
parent a2a8f9de74
commit 5fa3c6511f
3 changed files with 18 additions and 6 deletions

View File

@ -16,9 +16,15 @@ export default class CodeEntryView extends Component {
color: #3e5362;
}
fieldset[name=number-code] {
display: flex;
justify-content: space-between;
gap: 5px;
}
.digit-input {
box-sizing: border-box;
width: 12.89%;
flex-grow: 1;
height: 50px;
font-size: 25px;
text-align: center;
@ -36,7 +42,7 @@ export default class CodeEntryView extends Component {
.confirm-code-hyphen {
display: inline-block;
width: 14%;
flex-grow: 2;
text-align: center;
font-size: 40px;
font-weight: 300;

View File

@ -117,7 +117,7 @@ const UIWindow2FASetup = async function UIWindow2FASetup () {
async [`property.value`] (value, { component }) {
console.log('value? ', value)
if ( false && ! await check_code_(value) ) {
if ( ! await check_code_(value) ) {
component.set('error', 'Invalid code');
return;
}

View File

@ -1952,7 +1952,7 @@ label {
.email-confirm-code-hyphen {
display: inline-block;
width: 14%;
flex-grow: 1;
text-align: center;
font-size: 40px;
font-weight: 300;
@ -1960,7 +1960,7 @@ label {
.confirm-code-hyphen {
display: inline-block;
width: 14%;
flex-grow: 1;
text-align: center;
font-size: 40px;
font-weight: 300;
@ -2525,9 +2525,15 @@ label {
}
/* UIWindowEmailConfirmationRequired */
fieldset[name=number-code] {
display: flex;
justify-content: space-between;
gap: 5px;
}
.digit-input {
box-sizing: border-box;
width: 12.89%;
flex-grow: 1;
height: 50px;
font-size: 25px;
text-align: center;