Skip to content

Commit 6d578d1

Browse files
committed
css tweaks - set padding to 2 on mobile and 12 on desktop, remove max-w-7xl, min-h-screen
1 parent b2eabfe commit 6d578d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ const inter = Inter({ subsets: ["latin"] });
88
export default function Home() {
99
return (
1010
<main
11-
className={`flex min-h-screen bg-gray-100 dark:bg-zinc-800 flex-col items-center justify-between ${inter.className}`}
11+
className={`flex bg-gray-100 dark:bg-zinc-800 flex-col items-center justify-between ${inter.className}`}
1212
>
13-
<section className=" rounded-xl w-full p-12 ">
14-
<div className="px-12 mx-auto max-w-7xl">
13+
<section className=" rounded-xl p-2 md:p-12 ">
14+
<div className="px-12 mx-auto">
1515
<div className="w-full mx-auto text-left md:w-11/12 xl:w-9/12 md:text-center">
1616
<div className="mb-8 flex flex-col text-4xl font-extrabold leading-none tracking-normal text-gray-900 dark:text-white md:text-6xl md:tracking-tight">
1717
<h1>Experiment Controls</h1>{" "}
@@ -50,7 +50,7 @@ export default function Home() {
5050
</div>
5151
<div className=" mx-auto mt-20 w-full">
5252
<section className="">
53-
<div className="container px-6 mx-auto">
53+
<div className="container md:px-6 mx-auto">
5454
<div className="grid grid-cols-1 gap-8 mt-8 xl:mt-12 xl:gap-12 md:grid-cols-2 xl:grid-cols-3">
5555
<motion.div
5656
whileHover={{ y: -10 }}

0 commit comments

Comments
 (0)