Skip to content

Commit

Permalink
Update opengraph-image route styling
Browse files Browse the repository at this point in the history
  • Loading branch information
thebkht committed Nov 20, 2023
1 parent 60dd345 commit 80322f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/posts/[username]/opengraph-image/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function GET(req: NextRequest, { params }: { params: { username: st
return new ImageResponse(
(
post.cover ? (
<div tw="flex flex-col w-full h-full justify-end bg-white" >
<div tw="flex flex-col w-full h-full justify-end bg-white mt-8" >
<img src={post.cover} alt="" tw="object-cover mt-8 px-14" />
<div tw="absolute flex flex-col bg-white py-8 px-14 w-full">
<div tw="text-3xl font-bold w-3/5 mb-4">{post.title}</div>
Expand Down

0 comments on commit 80322f2

Please sign in to comment.