From 50b072803ddc80cfe329e09d365165d3f1030b28 Mon Sep 17 00:00:00 2001
From: Nick Overacker <nick.overacker@ymail.com>
Date: Tue, 18 Feb 2025 02:46:14 +0900
Subject: [PATCH] fix: limit width of logo in emails to 100% (#16164)

Limit width of logo in emails to 100%

The current live version breaks Yahoo Mail (at least in Firefox). It appears far too large and makes the email unreadable by pushing the text outside of the reading pane.
---
 server/src/emails/components/immich.layout.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/emails/components/immich.layout.tsx b/server/src/emails/components/immich.layout.tsx
index bb7a2aab65..911c6b31ee 100644
--- a/server/src/emails/components/immich.layout.tsx
+++ b/server/src/emails/components/immich.layout.tsx
@@ -50,7 +50,7 @@ export const ImmichLayout = ({ children, preview }: ImmichLayoutProps) => (
             <Section className="flex justify-center mb-12">
               <Img
                 src="https://immich.app/img/immich-logo-inline-light.png"
-                className="h-12 antialiased rounded-none"
+                className="h-12 antialiased rounded-none w-full"
                 alt="Immich"
               />
             </Section>