Spaces:
Running
Running
scrolling on desktop left hand side fixed
Browse files- pages/index.js +2 -2
pages/index.js
CHANGED
@@ -310,8 +310,8 @@ export default function Home() {
|
|
310 |
/>
|
311 |
|
312 |
<div className="absolute inset-0 top-[57px] sm:top-[73px] overflow-y-auto overscroll-y-contain -webkit-overflow-scrolling-touch">
|
313 |
-
<div className={`flex flex-col md:flex-row gap-4 max-w-7xl mx-auto
|
314 |
-
<div className={`w-full md:w-6/12 py-4 md:py-12 px-3 ${!hasStartedGenerating ? 'md:max-w-2xl mx-auto' : ''}`}>
|
315 |
<section className="flex flex-col bg-gray-100 rounded-2xl p-4">
|
316 |
<div
|
317 |
{...getRootProps()}
|
|
|
310 |
/>
|
311 |
|
312 |
<div className="absolute inset-0 top-[57px] sm:top-[73px] overflow-y-auto overscroll-y-contain -webkit-overflow-scrolling-touch">
|
313 |
+
<div className={`flex flex-col md:flex-row gap-4 max-w-7xl mx-auto ${!hasStartedGenerating ? 'justify-center' : ''} md:h-[calc(100vh-73px)]`}>
|
314 |
+
<div className={`w-full md:w-6/12 py-4 md:py-12 px-3 ${!hasStartedGenerating ? 'md:max-w-2xl mx-auto' : ''} md:overflow-y-auto`}>
|
315 |
<section className="flex flex-col bg-gray-100 rounded-2xl p-4">
|
316 |
<div
|
317 |
{...getRootProps()}
|