From c1956bfb2df20aa1117940b4435164b1d388233f Mon Sep 17 00:00:00 2001
From: Linus Rath <139418639+rathlinus@users.noreply.github.com>
Date: Tue, 10 Mar 2026 16:11:14 +0100
Subject: [PATCH] feat: enhance WelcomeBanner with settings button and update
styles for better layout
---
app/[locale]/page.tsx | 4 +++-
app/globals.css | 10 ++++++++++
components/email/email-list.tsx | 2 +-
components/ui/welcome-banner.tsx | 29 ++++++++++++++++++++---------
locales/en/common.json | 1 +
5 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx
index 1f600100..58d80e77 100644
--- a/app/[locale]/page.tsx
+++ b/app/[locale]/page.tsx
@@ -1044,6 +1044,7 @@ export default function Home() {
)}
+
@@ -1100,9 +1101,10 @@ export default function Home() {
selectEmail(email);
await handleUndoSpam();
}}
- className="flex-1"
+ className="flex-1 min-h-0"
/>
+
{/* Email list resize handle (desktop only) */}
diff --git a/app/globals.css b/app/globals.css
index 0ccda18a..97c17dc5 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -92,6 +92,10 @@ body {
min-width: 100%;
}
+.email-content-text {
+ padding: 1rem 1.25rem;
+}
+
.email-content {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
font-size: 0.9375rem;
@@ -100,6 +104,12 @@ body {
max-width: none;
overflow-wrap: break-word;
word-wrap: break-word;
+ padding: 1rem 1.25rem;
+}
+
+/* Remove padding for rich HTML emails with table-based layouts */
+.email-content:has(> table) {
+ padding: 0;
}
.email-content p {
diff --git a/components/email/email-list.tsx b/components/email/email-list.tsx
index 78ce4113..b026edc5 100644
--- a/components/email/email-list.tsx
+++ b/components/email/email-list.tsx
@@ -210,7 +210,7 @@ export function EmailList({
}, [listDensity, showPreview]);
return (
-
+
{/* Batch Actions Toolbar */}
{
if (dismissed) setVisible(false);
}}
>
-
+
-
+
{t("title")}
-
+
- {t("tip_compose")}
- {t("tip_shortcuts")}
- {t("tip_sidebar")}
@@ -75,12 +77,21 @@ export function WelcomeBanner() {
-
+
+
diff --git a/locales/en/common.json b/locales/en/common.json
index c868b301..eb5f75fa 100644
--- a/locales/en/common.json
+++ b/locales/en/common.json
@@ -1426,6 +1426,7 @@
"tip_sidebar": "Find Calendar, Contacts and Settings in the sidebar menu",
"tip_settings": "Customize your experience in Settings",
"got_it": "Got it",
+ "settings": "Settings",
"dismiss": "Dismiss"
}
}