From 518ae3aba3a8f49a5052f54bb70f13128cfe75a8 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Wed, 11 Sep 2024 16:34:05 +0200 Subject: [PATCH] fix: broken grids on project page --- src/components/Image.astro | 2 +- src/components/ProjectContainer.astro | 16 ++++++++-------- src/components/ProjectImage.astro | 3 ++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/Image.astro b/src/components/Image.astro index 7d77768..ccdd37d 100644 --- a/src/components/Image.astro +++ b/src/components/Image.astro @@ -6,7 +6,7 @@ const { class: className, noMargin, src, ...props } = Astro.props;
diff --git a/src/components/ProjectContainer.astro b/src/components/ProjectContainer.astro index 61f76bf..63160cf 100644 --- a/src/components/ProjectContainer.astro +++ b/src/components/ProjectContainer.astro @@ -50,13 +50,13 @@ const { { format === '70-start' && (
-
+
-
+
@@ -65,13 +65,13 @@ const { { format === '70-end' && (
-
+
-
+
@@ -80,7 +80,7 @@ const { { format === '100-start' && (
@@ -95,7 +95,7 @@ const { { format === '100-end' && (
diff --git a/src/components/ProjectImage.astro b/src/components/ProjectImage.astro index 8079a2a..8a227de 100644 --- a/src/components/ProjectImage.astro +++ b/src/components/ProjectImage.astro @@ -13,13 +13,14 @@ const { project } = Astro.props; { project.data.image && (project.data.image.src.includes('.svg') ? ( -
+
{project.data.title}
) : ( {project.data.title} ))