fix(emails): keep custom whitelabel logos at height 34, not the padded wordmark's 41 (#5803)

This commit is contained in:
Waleed
2026-07-21 11:01:30 -07:00
committed by GitHub
parent 7b8bbeb74f
commit 53f8ce5ebc
@@ -54,9 +54,8 @@ export function EmailLayout({
<Section style={baseStyles.header}>
<Img
src={brand.logoUrl || `${baseUrl}/brand/color/email/wordmark.png`}
height='41'
{...(hasCustomLogo ? {} : { width: '68' })}
alt={brand.name}
{...(hasCustomLogo ? { height: '34' } : { height: '41', width: '68' })}
style={hasCustomLogo ? { display: 'block', width: 'auto' } : { display: 'block' }}
/>
</Section>