Skip to content

Commit

Permalink
fix(component): fix email component
Browse files Browse the repository at this point in the history
fixed email component with updated tags

resolves #39

Signed-off-by: Niloy Sikdar <niloysikdar30@gmail.com>
  • Loading branch information
niloysikdar committed Jun 30, 2022
1 parent eb04e13 commit 94cfd57
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/components/Email/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,16 @@ export interface EmailProps {
}

export const Email = ({ children }: EmailProps): JSX.Element => {
return <div>{children}</div>;
return (
<div style={{ margin: '0px auto', maxWidth: '600px' }}>
<table
cellPadding="0"
cellSpacing="0"
role="presentation"
style={{ width: '100%', border: '0', verticalAlign: 'top' }}
>
{children}
</table>
</div>
);
};

0 comments on commit 94cfd57

Please sign in to comment.