diff --git a/examples/nextjs/pages/index.js b/examples/nextjs/pages/index.js index 08145bba9..dc4b64035 100644 --- a/examples/nextjs/pages/index.js +++ b/examples/nextjs/pages/index.js @@ -33,7 +33,7 @@ export default function Home() {

Examples →

diff --git a/examples/nextjs/styles/Home.module.css b/examples/nextjs/styles/Home.module.css index 35454bb74..32a57d52f 100644 --- a/examples/nextjs/styles/Home.module.css +++ b/examples/nextjs/styles/Home.module.css @@ -1,15 +1,10 @@ .container { - min-height: 100vh; - padding: 0 0.5rem; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - height: 100vh; + padding: 0 2rem; } .main { - padding: 5rem 0; + min-height: 100vh; + padding: 4rem 0; flex: 1; display: flex; flex-direction: column; @@ -18,10 +13,10 @@ } .footer { - width: 100%; - height: 100px; - border-top: 1px solid #eaeaea; display: flex; + flex: 1; + padding: 2rem 0; + border-top: 1px solid #eaeaea; justify-content: center; align-items: center; } @@ -56,6 +51,7 @@ } .description { + margin: 4rem 0; line-height: 1.5; font-size: 1.5rem; } @@ -75,7 +71,6 @@ justify-content: center; flex-wrap: wrap; max-width: 800px; - margin-top: 3rem; } .card { @@ -87,7 +82,7 @@ border: 1px solid #eaeaea; border-radius: 10px; transition: color 0.15s ease, border-color 0.15s ease; - width: 45%; + max-width: 300px; } .card:hover,