Skip to content

Commit 092a3ff

Browse files
committed
fix: set aspect ratio of blog post card images to 16:9
1 parent cb8f3c9 commit 092a3ff

File tree

1 file changed

+1
-1
lines changed
  • web/src/app/(content)/(info)/blog

1 file changed

+1
-1
lines changed

web/src/app/(content)/(info)/blog/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const BlogPageComponent = ({ posts }: { posts: PostType[] }) => {
4646
width={480}
4747
height={360}
4848
alt=''
49-
className='rounded-md aspect-[3/2] w-full object-cover transition-all duration-300 mb-2'
49+
className='rounded-md aspect-[16/9] w-full object-cover transition-all duration-300 mb-2'
5050
/>
5151

5252
<h3 className='text-lg font-bold text-opacity-50 mb-2 leading-6 flex-grow'>

0 commit comments

Comments
 (0)