diff --git a/src/routes/index.astro b/src/routes/index.astro index a27b023..0668136 100644 --- a/src/routes/index.astro +++ b/src/routes/index.astro @@ -59,6 +59,16 @@ import { GradientColor } from '../components/GradientBackground/GradientBackgrou margin: 0 auto; } + @media (width >= 992px) { + .grid-auto-fit { + --min-item-width: 30rem; + --grid-gap: 2rem; + + margin-inline: auto; + max-width: 100%; + } + } + main { overflow: hidden; } @@ -72,13 +82,5 @@ import { GradientColor } from '../components/GradientBackground/GradientBackgrou margin: 0 auto; } } - - .grid-auto-fit { - --min-item-width: 30rem; - --grid-gap: 2rem; - - margin-inline: auto; - max-width: 100%; - } }