Skip to content

Commit

Permalink
Adds fixed img sizes to landing page blog thumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
a-poor committed Jan 5, 2025
1 parent b763ae9 commit 3cfd6c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/_index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function BlogPostPreviewCard({slug, title, description, readTime, postDate, img}
<img
src={img.src}
alt={img.alt}
className="object-cover aspect-[2/1] object-top brightness-90 group-hover:scale-105 group-hover:brightness-100 transition-all duration-300"
className="object-cover w-[350px] h-[175px] aspect-[2/1] object-top brightness-90 group-hover:scale-105 group-hover:brightness-100 transition-all duration-300"
height={350}
/>
</div>
Expand Down

0 comments on commit 3cfd6c2

Please sign in to comment.