mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-03 07:48:46 +08:00
Fix padding and enable code
This commit is contained in:
parent
a2a8f9de74
commit
5fa3c6511f
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user