@@ -198,10 +198,10 @@ export default function Home() {
198198 } , [ onSandboxCreated ] ) ;
199199
200200 return (
201- < div className = "w-full h-dvh overflow-hidden p-2 sm:p-4 md:p-8 md:pb-10" >
201+ < div className = "w-full flex justify-center items-center h-dvh overflow-hidden p-2 sm:p-4 md:p-8 md:pb-10" >
202202 < Frame
203203 classNames = { {
204- wrapper : "w-full h-full" ,
204+ wrapper : "w-full max-lg: h-full lg:aspect-[18/9] max-w-[2000px] " ,
205205 frame : "flex flex-col h-full overflow-hidden" ,
206206 } }
207207 >
@@ -239,7 +239,7 @@ export default function Home() {
239239 </ Button >
240240 </ div >
241241
242- < div className = "hidden md :flex items-center gap-2" >
242+ < div className = "hidden lg :flex items-center gap-2" >
243243 < ThemeToggle />
244244 < RepoBanner />
245245
@@ -262,14 +262,12 @@ export default function Home() {
262262 }
263263 >
264264 < Timer
265- className = { `h-3 w-3 ${
266- ! isTabVisible ? "text-fg-400" : ""
267- } `}
265+ className = { `h-3 w-3 ${ ! isTabVisible ? "text-fg-400" : ""
266+ } `}
268267 />
269268 < span
270- className = { `text-xs font-medium ${
271- ! isTabVisible ? "text-fg-400" : ""
272- } `}
269+ className = { `text-xs font-medium ${ ! isTabVisible ? "text-fg-400" : ""
270+ } `}
273271 >
274272 { Math . floor ( timeRemaining / 60 ) } :
275273 { ( timeRemaining % 60 ) . toString ( ) . padStart ( 2 , "0" ) }
@@ -290,7 +288,7 @@ export default function Home() {
290288 </ AnimatePresence >
291289 </ div >
292290
293- < div className = "md :hidden flex items-center" >
291+ < div className = "lg :hidden flex items-center" >
294292 < AnimatePresence >
295293 { sandboxId && (
296294 < motion . div
@@ -312,14 +310,12 @@ export default function Home() {
312310 className = "px-1.5"
313311 >
314312 < Timer
315- className = { `h-3 w-3 ${
316- ! isTabVisible ? "text-fg-400" : ""
317- } `}
313+ className = { `h-3 w-3 ${ ! isTabVisible ? "text-fg-400" : ""
314+ } `}
318315 />
319316 < span
320- className = { `text-xs font-medium ml-1 ${
321- ! isTabVisible ? "text-fg-400" : ""
322- } `}
317+ className = { `text-xs font-medium ml-1 ${ ! isTabVisible ? "text-fg-400" : ""
318+ } `}
323319 >
324320 { Math . floor ( timeRemaining / 60 ) } :
325321 { ( timeRemaining % 60 ) . toString ( ) . padStart ( 2 , "0" ) }
@@ -343,7 +339,7 @@ export default function Home() {
343339 < AnimatePresence >
344340 { mobileMenuOpen && (
345341 < motion . div
346- className = "md :hidden border-b p-2 flex items-center justify-between"
342+ className = "lg :hidden border-b p-2 flex items-center justify-between"
347343 initial = { { opacity : 0 , height : 0 } }
348344 animate = { { opacity : 1 , height : "auto" } }
349345 exit = { { opacity : 0 , height : 0 } }
@@ -357,10 +353,10 @@ export default function Home() {
357353 ) }
358354 </ AnimatePresence >
359355
360- < div className = "flex flex-col md :flex-row flex-1 overflow-hidden" >
356+ < div className = "flex flex-col lg :flex-row flex-1 overflow-hidden" >
361357 < div
362358 ref = { iFrameWrapperRef }
363- className = "relative w-full md :flex-1 h-[40vh] md :h-auto overflow-hidden"
359+ className = "relative w-full lg :flex-1 h-[40vh] lg :h-auto overflow-hidden"
364360 >
365361 { isLoading || ( chatLoading && ! sandboxId ) ? (
366362 < div className = "absolute inset-0 flex flex-col items-center justify-center gap-4" >
@@ -411,7 +407,7 @@ export default function Home() {
411407 ) }
412408 </ div >
413409
414- < div className = "flex-1 flex flex-col relative border-t md :border-t-0 md :border-l overflow-hidden h-[60vh] md :h-auto md :max-w-xl" >
410+ < div className = "flex-1 flex flex-col relative border-t lg :border-t-0 lg :border-l overflow-hidden h-[60vh] lg :h-auto lg :max-w-xl" >
415411 < ChatList className = "flex-1" messages = { messages } />
416412
417413 { messages . length === 0 && (
0 commit comments