mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(emails): keep custom whitelabel logos at height 34, not the padded wordmark's 41 (#5803)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user