mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 00:12:39 +00:00
fix: keep the dark body backdrop full width in Mountain View and show Gmail's help button
This commit is contained in:
@@ -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}>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user