Skip to content

Commit

Permalink
💐
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Oct 14, 2022
1 parent 623eaa4 commit 2cbef94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/api/social-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default async function OGImage(req: NextRequest) {
position: 'absolute',
width: '100%',
height: '100%',
objectFit: 'cover',
objectFit: 'cover'
// TODO: satori doesn't support background-size: cover and seems to
// have inconsistent support for filter + transform to get rid of the
// blurred edges. For now, we'll go without a blur filter on the
Expand All @@ -71,8 +71,8 @@ export default async function OGImage(req: NextRequest) {
// : undefined,
// backgroundSize: '100% 100%'
// TODO: pageInfo.imageObjectPosition
filter: 'blur(8px)',
transform: 'scale(1.05)'
// filter: 'blur(8px)'
// transform: 'scale(1.05)'
}}
/>
)}
Expand Down

0 comments on commit 2cbef94

Please sign in to comment.