From 761f29c98162d7380c0abe017e546bcfaf11c897 Mon Sep 17 00:00:00 2001 From: Gurpal Singh Date: Thu, 14 Sep 2023 23:34:11 +0530 Subject: [PATCH] fix: padding and make images responsive --- app/globals.css | 4 ++++ app/project/[name]/page.tsx | 17 +++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/app/globals.css b/app/globals.css index 7a8a837..99d3fb8 100644 --- a/app/globals.css +++ b/app/globals.css @@ -5,3 +5,7 @@ body { @apply bg-[#111010] text-white; } + +.image__container img { + position: unset !important; +} diff --git a/app/project/[name]/page.tsx b/app/project/[name]/page.tsx index 47f3efc..3dbacdf 100644 --- a/app/project/[name]/page.tsx +++ b/app/project/[name]/page.tsx @@ -49,15 +49,16 @@ async function ProjectPage(props: Props) { (p) => encodeURIComponent(p.slug) === encodeURIComponent(props.params.name) )!; return ( -
+
- {project.image?.alt} +
+ {project.image?.alt} +
{project.image.source ? (

Source: {project.image.source}