Skip to content

Commit f73679b

Browse files
paulbalajiclaude
andcommitted
fix: reduce OG border radii to 2px to match UI
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 49a1f57 commit f73679b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/pages/api/og.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ export default async function handler(req: NextRequest) {
371371
gap: '10px',
372372
background: statusBgColor,
373373
padding: '14px 24px',
374-
borderRadius: '8px',
374+
borderRadius: '2px',
375375
border: `1px solid ${statusColor}`,
376376
}}
377377
>
@@ -412,7 +412,7 @@ export default async function handler(req: NextRequest) {
412412
style={{
413413
background: `linear-gradient(135deg, ${originColors.primary}25 0%, ${originColors.secondary || originColors.primary}12 100%)`,
414414
border: `1px solid ${originColors.primary}50`,
415-
borderRadius: '6px',
415+
borderRadius: '2px',
416416
padding: '28px 48px',
417417
display: 'flex',
418418
flexDirection: 'column',
@@ -461,7 +461,7 @@ export default async function handler(req: NextRequest) {
461461
style={{
462462
background: `linear-gradient(135deg, ${destColors.secondary || destColors.primary}12 0%, ${destColors.primary}25 100%)`,
463463
border: `1px solid ${destColors.primary}50`,
464-
borderRadius: '6px',
464+
borderRadius: '2px',
465465
padding: '28px 48px',
466466
display: 'flex',
467467
flexDirection: 'column',
@@ -557,7 +557,7 @@ export default async function handler(req: NextRequest) {
557557
fontFamily: 'PPFraktionMono, monospace',
558558
background: 'rgba(154, 13, 255, 0.11)',
559559
padding: '8px 16px',
560-
borderRadius: '4px',
560+
borderRadius: '2px',
561561
}}
562562
>
563563
{shortMsgId}
@@ -612,7 +612,7 @@ export default async function handler(req: NextRequest) {
612612
fontFamily: 'PPFraktionMono, monospace',
613613
background: 'rgba(154, 13, 255, 0.11)',
614614
padding: '8px 16px',
615-
borderRadius: '4px',
615+
borderRadius: '2px',
616616
}}
617617
>
618618
{formattedDate}

0 commit comments

Comments
 (0)