Spaces:
Running
Running
Trying to fix weird mobile scrolling behavior
Browse files- pages/index.js +3 -3
pages/index.js
CHANGED
@@ -291,15 +291,15 @@ export default function Home() {
|
|
291 |
<Head>
|
292 |
<title>Image to Code</title>
|
293 |
</Head>
|
294 |
-
<div className="min-h-screen bg-white tracking-[-0.005em]">
|
295 |
<Header />
|
296 |
<ErrorModal
|
297 |
isOpen={showErrorModal}
|
298 |
onClose={() => setShowErrorModal(false)}
|
299 |
/>
|
300 |
|
301 |
-
<div className="w-full pt-24 sm:pt-16">
|
302 |
-
<div className={`flex flex-col md:flex-row gap-4 max-w-6xl mx-auto transition-all duration-500 ${!hasStartedGenerating ? 'justify-center' : ''}`}>
|
303 |
<div className={`w-full md:flex-1 py-4 md:py-20 px-3 transition-all duration-500 ${!hasStartedGenerating ? 'md:max-w-2xl mx-auto' : ''}`}>
|
304 |
<section className="flex flex-col bg-gray-100 rounded-2xl p-4">
|
305 |
<div
|
|
|
291 |
<Head>
|
292 |
<title>Image to Code</title>
|
293 |
</Head>
|
294 |
+
<div className="min-h-screen bg-white tracking-[-0.005em] overflow-x-hidden">
|
295 |
<Header />
|
296 |
<ErrorModal
|
297 |
isOpen={showErrorModal}
|
298 |
onClose={() => setShowErrorModal(false)}
|
299 |
/>
|
300 |
|
301 |
+
<div className="w-full pt-24 sm:pt-16 overflow-y-auto">
|
302 |
+
<div className={`flex flex-col md:flex-row gap-4 max-w-6xl mx-auto pb-8 transition-all duration-500 ${!hasStartedGenerating ? 'justify-center' : ''}`}>
|
303 |
<div className={`w-full md:flex-1 py-4 md:py-20 px-3 transition-all duration-500 ${!hasStartedGenerating ? 'md:max-w-2xl mx-auto' : ''}`}>
|
304 |
<section className="flex flex-col bg-gray-100 rounded-2xl p-4">
|
305 |
<div
|