fix: keep the dark body backdrop full width in Mountain View and show Gmail's help button

This commit is contained in:
Linus Rath
2026-10-12 02:00:02 +02:00
parent f160dae25c
commit c587ad459e
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -5503,7 +5503,7 @@ export function EmailViewer({
<div className={cn(
"email-content-wrapper overflow-x-auto",
// Mountain View indents the body under the sender's name, as Gmail does.
mvViewer && "lg:ms-[60px]",
mvViewer && "lg:ps-[60px]",
!isDark && resolvedTheme === 'dark' ? "bg-white email-content-light" : "bg-background"
)}
style={isDark ? { backgroundColor: '#121212' } : undefined}>
+3 -2
View File
@@ -6,7 +6,7 @@ import {
Calendar,
Grid3x3,
HardDrive,
Keyboard,
HelpCircle,
Mail,
Menu,
Settings,
@@ -241,7 +241,8 @@ export function MvTopBar({
title={t("keyboard_shortcuts")}
aria-label={t("keyboard_shortcuts")}
>
<Keyboard className="w-5 h-5" />
{/* Gmail's help button, which is where it keeps the shortcuts too. */}
<HelpCircle className="w-5 h-5" />
</button>
)}
{/* Admin (Stalwart admins), as in the navigation rail this bar replaces.