Fixed UI
This commit is contained in:
parent
38f0cc2204
commit
ff49257ecb
6 changed files with 16 additions and 7 deletions
BIN
admin/public/assets/images/background.png
Normal file
BIN
admin/public/assets/images/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 91 KiB |
|
@ -12,6 +12,12 @@ body {
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: url('../public/assets/images/background.png') no-repeat center center
|
||||
fixed;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
-o-background-size: cover;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
code {
|
||||
|
|
|
@ -16,11 +16,12 @@
|
|||
}
|
||||
|
||||
.input__field {
|
||||
width: 300px;
|
||||
margin: 10px 0px;
|
||||
width: 500px;
|
||||
height: 80px;
|
||||
margin: 40px 0px;
|
||||
padding: 18px 10px;
|
||||
border: 3px solid;
|
||||
border-radius: 10px;
|
||||
font-size: 1rem;
|
||||
font-size: 1.5rem;
|
||||
text-align: center;
|
||||
}
|
|
@ -120,7 +120,7 @@ const Otp = () => {
|
|||
type="submit"
|
||||
variant="contained"
|
||||
disabled={disabled}
|
||||
sx={{ marginTop: '1rem' }}
|
||||
sx={{ margin: '20px 0px', fontSize: '1.5rem', padding: '10px 30px' }}
|
||||
onClick={() => {
|
||||
mutateOTP.mutate()
|
||||
setDisabled(true)
|
||||
|
@ -145,6 +145,7 @@ const Otp = () => {
|
|||
size="large"
|
||||
type="submit"
|
||||
variant="contained"
|
||||
sx={{ margin: '20px 0px', fontSize: '1.5rem', padding: '10px 30px' }}
|
||||
onClick={() => {
|
||||
verifyOTP()
|
||||
}}
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
}
|
||||
|
||||
.subheading {
|
||||
font-size: var(--font-medium);
|
||||
font-weight: 400;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.subsubheading {
|
||||
font-size: var(--font-medium-s);
|
||||
font-size: 1.75rem;
|
||||
font-weight: 400;
|
||||
margin: 10px 0px;
|
||||
}
|
||||
|
|
|
@ -46,6 +46,7 @@ const Update = () => {
|
|||
size="large"
|
||||
type="submit"
|
||||
variant="contained"
|
||||
sx={{ margin: '20px 0px', fontSize: '1.5rem', padding: '10px 30px' }}
|
||||
onClick={() => {
|
||||
if (!validAadhaar.test(aadhaarNumber)) {
|
||||
toast.error(t('Please enter a valid aadhaar number'))
|
||||
|
|
Loading…
Reference in a new issue