mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: missing email button padding (#22529)
Signed-off-by: Guillermo Guirao Aguilar <ggaguilar@gmail.com>
This commit is contained in:
parent
1f7201fbd3
commit
b3f38301bf
2 changed files with 5 additions and 5 deletions
|
|
@ -29,8 +29,8 @@ export const AlbumUpdateEmail = ({
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
New media has been added to <strong>{albumName}</strong>,
|
New media has been added to <strong>{albumName}</strong>.
|
||||||
<br /> check it out!
|
<br /> Check it out!
|
||||||
</Text>
|
</Text>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { Button, ButtonProps } from '@react-email/components';
|
import { Button, ButtonProps, Text } from '@react-email/components';
|
||||||
|
|
||||||
export const ImmichButton = ({ children, ...props }: ButtonProps) => (
|
export const ImmichButton = ({ children, ...props }: ButtonProps) => (
|
||||||
<Button
|
<Button
|
||||||
{...props}
|
{...props}
|
||||||
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"
|
className="border bg-immich-primary rounded-full no-underline hover:no-underline text-white hover:text-gray-50 font-bold uppercase"
|
||||||
>
|
>
|
||||||
{children}
|
<Text className="my-3 mx-8">{children}</Text>
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue