Skip to content

Commit 181da50

Browse files
Funk66bwees
authored andcommitted
fix: missing email button padding (#22529)
Signed-off-by: Guillermo Guirao Aguilar <[email protected]>
1 parent 0ae58b3 commit 181da50

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

server/src/emails/album-update.email.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export const AlbumUpdateEmail = ({
2929
</Text>
3030

3131
<Text>
32-
New media has been added to <strong>{albumName}</strong>,
33-
<br /> check it out!
32+
New media has been added to <strong>{albumName}</strong>.
33+
<br /> Check it out!
3434
</Text>
3535
</>
3636
);
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import React from 'react';
22

3-
import { Button, ButtonProps } from '@react-email/components';
3+
import { Button, ButtonProps, Text } from '@react-email/components';
44

55
export const ImmichButton = ({ children, ...props }: ButtonProps) => (
66
<Button
77
{...props}
8-
className="py-3 px-8 border bg-immich-primary rounded-full no-underline hover:no-underline text-white hover:text-gray-50 font-bold uppercase"
8+
className="border bg-immich-primary rounded-full no-underline hover:no-underline text-white hover:text-gray-50 font-bold uppercase"
99
>
10-
{children}
10+
<Text className="my-3 mx-8">{children}</Text>
1111
</Button>
1212
);

0 commit comments

Comments
 (0)