Adjust logo margin to completely counter PNG padding for perfect alignment

This commit is contained in:
2026-09-22 19:40:43 +05:30
parent dab148b942
commit 9705ee96e6

View File

@@ -61,7 +61,7 @@ export async function GET(req: NextRequest) {
<div style={{ display: 'flex', flexDirection: 'column', width: '880px', height: '100%', justifyContent: 'space-between', zIndex: 10 }}>
{/* Header */}
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', width: '100%' }}>
<img src={logoUrl} width={450} height={110} style={{ objectFit: 'contain', marginLeft: '-32px' }} />
<img src={logoUrl} width={450} height={110} style={{ objectFit: 'contain', marginLeft: '-64px' }} />
<div style={{ display: 'flex', alignItems: 'center', background: 'linear-gradient(90deg, rgba(6,182,212,0.15) 0%, rgba(6,182,212,0.05) 100%)', padding: '12px 28px', borderRadius: 100, border: '1px solid rgba(6,182,212,0.3)' }}>
<div style={{ width: 12, height: 12, borderRadius: 6, backgroundColor: '#06b6d4', marginRight: 12 }} />