@@ -48,11 +48,12 @@ export function WelcomeBanner() {
4848
4949 { /* Modal */ }
5050 < motion . div
51- className = "relative w-full max-w-xl border-2 overflow-hidden "
51+ className = "relative w-full max-w-xl border-2 flex flex-col "
5252 style = { {
5353 borderColor : C . border ,
5454 backgroundColor : C . bgWhite ,
5555 fontFamily : "var(--font-mono)" ,
56+ maxHeight : "calc(100dvh - 2rem)" ,
5657 } }
5758 initial = { { opacity : 0 , y : - 10 , scale : 0.98 } }
5859 animate = { { opacity : 1 , y : 0 , scale : 1 } }
@@ -61,7 +62,7 @@ export function WelcomeBanner() {
6162 >
6263 { /* Header bar */ }
6364 < div
64- className = "px-5 py-3 border-b-2 flex items-center justify-between"
65+ className = "px-5 py-3 border-b-2 flex items-center justify-between shrink-0 "
6566 style = { {
6667 backgroundColor : C . headerBg ,
6768 borderColor : C . border ,
@@ -82,8 +83,8 @@ export function WelcomeBanner() {
8283 </ span >
8384 </ div >
8485
85- { /* Content */ }
86- < div className = "px-5 py-6 " >
86+ { /* Scrollable content */ }
87+ < div className = "px-5 py-5 overflow-y-auto flex-1 min-h-0 " >
8788 { /* Title */ }
8889 < h2
8990 className = "text-2xl md:text-3xl font-bold uppercase tracking-tighter leading-tight mb-5"
@@ -186,7 +187,7 @@ export function WelcomeBanner() {
186187 />
187188
188189 { /* Telegram section */ }
189- < div className = "mb-5" >
190+ < div >
190191 < p
191192 className = "text-[11px] font-bold uppercase tracking-wider mb-3"
192193 style = { { color : C . textMuted } }
@@ -248,8 +249,13 @@ export function WelcomeBanner() {
248249 </ a >
249250 </ div >
250251 </ div >
252+ </ div >
251253
252- { /* Accept button */ }
254+ { /* Fixed bottom: Accept button */ }
255+ < div
256+ className = "px-5 py-4 border-t shrink-0"
257+ style = { { borderColor : C . borderLight } }
258+ >
253259 < button
254260 onClick = { handleAccept }
255261 className = "w-full py-3 border-2 cursor-pointer transition-colors"
0 commit comments