Skip to content

Commit c3fff74

Browse files
author
Guru
committed
fix: input stylings
1 parent 8a6564c commit c3fff74

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

demo/redirect-flow-example/src/components/mfa-cards/authenticator/AuthenticatorScan.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ const AuthenticatorQRCodeCard: React.FC = () => {
251251
<Card className="px-8 py-6 w-full !rounded-2xl !shadow-modal !border-0 dark:!border-app-gray-800 dark:!shadow-dark">
252252
<div className="text-center">
253253
<h3 className="font-semibold text-app-gray-900 dark:text-app-white mb-4">Verify Authenticator Code</h3>
254-
<TextField value={code} onChange={(e) => setCode(e.target.value)} placeholder="Enter code" className="mb-4" classes={{
254+
<TextField value={code} onChange={(e) => setCode(e.target.value)} placeholder="Enter code" className="mb-4 rounded-md" classes={{
255255
container: "flex flex-col justify-center items-center",
256256
}}/>
257257
<Button loading={isLoading} className="w-full" variant="primary" onClick={verifyNewAuthenticator}>

demo/redirect-flow-example/src/components/mfa-cards/authenticator/AuthenticatorVerify.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const VerifyAuthenticatorCodeCard: React.FC = () => {
5656
<Card className="px-8 !h-[300px] w-full flex justify-center items-start py-6 !rounded-2xl !shadow-modal !border-0 dark:!border-app-gray-800 dark:!shadow-dark">
5757
<div className="text-center">
5858
<h3 className="font-semibold text-app-gray-900 dark:text-app-white mb-4">Verify Authenticator Code</h3>
59-
<TextField value={code} onChange={(e) => setCode(e.target.value)} placeholder="Enter code" className="mb-4" classes={{
59+
<TextField value={code} onChange={(e) => setCode(e.target.value)} placeholder="Enter code" className="mb-4 rounded-md" classes={{
6060
container: "flex flex-col justify-center items-center",
6161
}} />
6262
{error && <p className="text-app-red-400 text-sm mb-4">{error}</p>}

demo/redirect-flow-example/src/components/mfa-cards/password/ConfirmPassword.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const ConfirmPasswordCard: React.FC = () => {
8080
onChange={(e) => setPassword(e.target.value)}
8181
type="password"
8282
placeholder="Confirm password"
83-
className="mb-4"
83+
className="mb-4 rounded-md"
8484
classes={{
8585
container: "flex flex-col justify-center items-center",
8686
}}

demo/redirect-flow-example/src/components/mfa-cards/password/CreatePassword.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const GetPasswordCard: React.FC = () => {
8282
onChange={(e) => setPassword(e.target.value)}
8383
type="password"
8484
placeholder="Enter password"
85-
className="mb-4"
85+
className="mb-4 rounded-lg"
8686
classes={{
8787
container: "flex flex-col justify-center items-center",
8888
}}

demo/redirect-flow-example/src/components/transactions/TransactionCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const TransactionCard: React.FC = () => {
5151
onChange={(e) => setAmount(e.target.value)}
5252
label="Amount (ETH)"
5353
placeholder="Enter amount in ETH"
54-
className="mb-4"
54+
className="mb-4 rounded-md"
5555
classes={{
5656
container: "flex flex-col justify-center items-center",
5757
}}

0 commit comments

Comments
 (0)