@@ -94,15 +94,13 @@ export default function OrderlyKeyLoginModal({
9494 if ( ! isOpen ) return null ;
9595
9696 return (
97- < div className = "fixed inset-0 z-[1000] flex items-center justify-center h-screen" >
98- { /* Backdrop */ }
97+ < div className = "fixed inset-0 z-[1000] flex items-center justify-center h-screen md:p-4" >
9998 < div
10099 className = "absolute inset-0 bg-background-dark/80 backdrop-blur-sm z-[1001]"
101100 onClick = { isCreating ? undefined : onClose }
102101 > </ div >
103102
104- { /* Modal */ }
105- < div className = "relative z-[1002] max-w-md p-6 rounded-xl bg-background-light border border-primary-light/20 shadow-2xl slide-fade-in" >
103+ < div className = "relative z-[1002] w-full h-full md:h-auto md:max-w-md md:max-h-[90vh] overflow-y-auto p-6 md:rounded-xl bg-background-light border-0 md:border md:border-primary-light/20 shadow-2xl slide-fade-in" >
106104 < div className = "text-center mb-6" >
107105 < div className = "bg-warning/20 p-3 rounded-full w-16 h-16 mx-auto mb-4 flex items-center justify-center" >
108106 < div className = "i-mdi:key text-warning w-8 h-8" > </ div >
@@ -111,8 +109,8 @@ export default function OrderlyKeyLoginModal({
111109 Create Orderly Key
112110 </ h2 >
113111 < p className = "text-gray-300" >
114- To manage your referral settings , you'll need to create an Orderly
115- API key by signing a message with your wallet.
112+ To interact with the Orderly Network API , you'll need to create an
113+ Orderly API key by signing a message with your wallet.
116114 </ p >
117115 </ div >
118116
@@ -131,9 +129,7 @@ export default function OrderlyKeyLoginModal({
131129 </ li >
132130 < li className = "flex items-start gap-2" >
133131 < div className = "i-mdi:numeric-3-circle text-primary w-4 h-4 flex-shrink-0 mt-0.5" > </ div >
134- < span >
135- The key will be stored locally for referral management
136- </ span >
132+ < span > The key will be stored locally for API interactions</ span >
137133 </ li >
138134 </ ul >
139135 </ div >
@@ -143,9 +139,10 @@ export default function OrderlyKeyLoginModal({
143139 Security Note
144140 </ h4 >
145141 < p className = "text-gray-400 text-sm" >
146- This key allows secure API access to manage your referral program.
147- It will be stored locally in your browser and is unique to your DEX
148- broker account. No gas fees or blockchain transactions are required.
142+ This key allows secure API access to manage your DEX settings and
143+ interact with the Orderly Network. It will be stored locally in your
144+ browser and is unique to your DEX broker account. No gas fees or
145+ blockchain transactions are required.
149146 </ p >
150147 </ div >
151148
0 commit comments