diff options
| author | Pinapelz <yukais@pinapelz.com> | 2023-09-13 00:50:03 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2023-09-13 00:50:03 -0700 |
| commit | 9d03f81a34b34166b24d7da4b311d538a52a9e1b (patch) | |
| tree | c493dbc4fcc17c29a84f25c835b14d0a47ff0b90 /src | |
| parent | 3b1f06a6dc837052189a363746e94f0f90c743f1 (diff) | |
force rows of 3 on project grid
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ProjectGrid.astro | 2 | ||||
| -rw-r--r-- | src/pages/index.astro | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/components/ProjectGrid.astro b/src/components/ProjectGrid.astro index fb890bc..56302c9 100644 --- a/src/components/ProjectGrid.astro +++ b/src/components/ProjectGrid.astro @@ -1,7 +1,7 @@ <style> .project-grid { display: grid; - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + grid-template-columns: repeat(3, 1fr); gap: 20px; } diff --git a/src/pages/index.astro b/src/pages/index.astro index 6c9c278..03b93c9 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -72,7 +72,6 @@ const posts = (await getCollection("blog")).sort( <iframe src="https://pinapelz.moe/" width="100%" height="500px" ></iframe> </section> - </ProjectGrid> <Footer /> </p> </main> |
