diff --git a/frontend/src/routes/MailLayout.tsx b/frontend/src/routes/MailLayout.tsx index e65a357..f9d3a48 100644 --- a/frontend/src/routes/MailLayout.tsx +++ b/frontend/src/routes/MailLayout.tsx @@ -980,19 +980,22 @@ export function MailLayout() { {/* Plugin-contributed sidebar sections (SPEC §11.3 sidebar.section). */} {!collapsed && } + {mobile && ( +
+ setDrawerOpen(false)} /> +
+ )}
- {/* Settings has no phone layout yet either. */} {!collapsed && t("nav.settings")} - {mobile && setDrawerOpen(false)} />} +

{title}

+ {/* Balances the back button, so the title sits in the middle. */} + + + {t("settings.title")} + + +
+ {open ? content : shown?.content} +
+ + )} +
+ + ); +} + +function Chevron({ left = false }: { left?: boolean }) { + return ( + + + + ); +} + function ProfileSection() { const t = useT(); const { data } = useMe(); @@ -559,10 +694,11 @@ function AccountsSection() { ) : editing?.id === a.id && editing.mode === "signature" ? ( setEditing(null)} onSaved={close} /> ) : ( -
- - - {a.email} + // Wraps on a narrow screen: the actions move below the address. +
+ + + {a.email} {a.state === "auth_failed" ? ( {t("settings.stateAuthFailed")} @@ -585,7 +721,7 @@ function AccountsSection() { )} - + {a.sync_window !== "all" && (