From 04cc00f89571c3e51761c97378ee24fc173ea69c Mon Sep 17 00:00:00 2001 From: lucamzanon Date: Fri, 9 Oct 2026 08:35:17 +0200 Subject: [PATCH] fix(mountain-view): plain sheet under the conversation, round avatar button Under the message the reply buttons sat on the tinted strip the default layout uses for its quick reply, a different colour from the message above them in the light theme. Mountain View now reads the whole conversation on the page colour. The account avatar in the top bar got a square highlight while every other button there is round. --- components/email/email-viewer.tsx | 6 ++++-- components/layout/account-switcher.tsx | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/email/email-viewer.tsx b/components/email/email-viewer.tsx index c23f22eba..319cafdef 100644 --- a/components/email/email-viewer.tsx +++ b/components/email/email-viewer.tsx @@ -4066,8 +4066,10 @@ export function EmailViewer({ )} - {/* Email Content Area */} -
+ {/* Email Content Area. Mountain View reads the conversation on one plain + sheet, so the reply buttons under the message sit on the page colour + rather than on a tinted strip. */} +
{/* === SENDER INFO (Desktop) === */} diff --git a/components/layout/account-switcher.tsx b/components/layout/account-switcher.tsx index 6860f976b..6dd5c67d6 100644 --- a/components/layout/account-switcher.tsx +++ b/components/layout/account-switcher.tsx @@ -267,7 +267,9 @@ export function AccountSwitcher({ data-testid="account-switcher" data-active-account-id={activeAccountId ?? undefined} className={cn( - "flex items-center gap-2 rounded-md transition-colors", + // Round under Mountain View, like every other button in its top bar. + "flex items-center gap-2 transition-colors", + mvPopover ? "rounded-full" : "rounded-md", variant !== "expanded" ? "justify-center w-10 h-10 hover:bg-muted" : "w-full px-2 py-1.5 hover:bg-muted text-start min-w-0",