fixed image display

This commit is contained in:
2025-03-18 15:50:37 -05:00
parent b08bdc5941
commit e8a82eef01
+1 -1
View File
@@ -35,7 +35,7 @@ const Home: React.FC<HomeProps> = ({ posts, recentPosts, tags }) => {
<div className="mb-12">
<div className="bg-white rounded-lg shadow-md overflow-hidden">
<div className="md:flex">
<div className="md:flex-shrink-0 bg-accent relative w-full md:w-64 h-64">
<div className="md:flex-shrink-0 bg-accent relative w-full md:w-1/3 h-64 md:h-auto">
{posts[0].coverImage ? (
<img
src={posts[0].coverImage}