Spaces:
Running
Running
i think this works for mobile styling now. special for hugging face
Browse files- pages/index.js +2 -2
pages/index.js
CHANGED
@@ -302,7 +302,7 @@ export default function Home() {
|
|
302 |
}
|
303 |
`}</style>
|
304 |
</Head>
|
305 |
-
<div className="fixed inset-0 bg-white mt-[
|
306 |
<Header />
|
307 |
<ErrorModal
|
308 |
isOpen={showErrorModal}
|
@@ -311,7 +311,7 @@ export default function Home() {
|
|
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-6xl mx-auto pb-20 ${!hasStartedGenerating ? 'justify-center' : ''}`}>
|
314 |
-
<div className={`w-full md:flex-1 py-
|
315 |
<section className="flex flex-col bg-gray-100 rounded-2xl p-4">
|
316 |
<div
|
317 |
{...getRootProps()}
|
|
|
302 |
}
|
303 |
`}</style>
|
304 |
</Head>
|
305 |
+
<div className="fixed inset-0 bg-white mt-[0px] sm:mt-0">
|
306 |
<Header />
|
307 |
<ErrorModal
|
308 |
isOpen={showErrorModal}
|
|
|
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-6xl mx-auto pb-20 ${!hasStartedGenerating ? 'justify-center' : ''}`}>
|
314 |
+
<div className={`w-full md:flex-1 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()}
|