mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-04 16:14:07 +00:00
chore: merge the reviewed store, pop-outs and desktop core into the settings branch
Eviction now goes by the base's signal: `storeLost` and the `store-reset` notice, with `bulwark-store-opened` as the marker and `prune-files` for files with no key. The storage page and the lost count hang off that. What a user picks is stored under `bulwark-offline-scope`, the key `offlineScopeFor` reads, and `email-snapshot` follows the base's rule. `OfflineEnabled` is read from the desktop bridge when it's there.
This commit is contained in:
@@ -263,7 +263,7 @@ export function AdminShell({ authenticated, isStalwartAutoLogin, configReadOnly,
|
||||
const backHref = location.detail ? adminPath(location.page) : '/admin';
|
||||
return (
|
||||
<AdminShellContext.Provider value={contextValue}>
|
||||
<div className="flex h-dvh flex-col bg-background pt-[env(safe-area-inset-top)]">
|
||||
<div className="flex h-dvh flex-col bg-background pt-[var(--app-top-inset)]">
|
||||
<div className="flex h-14 shrink-0 items-center gap-1 border-b border-border bg-background px-2">
|
||||
{showIndex ? (
|
||||
<a
|
||||
@@ -361,7 +361,7 @@ export function AdminShell({ authenticated, isStalwartAutoLogin, configReadOnly,
|
||||
|
||||
return (
|
||||
<AdminShellContext.Provider value={contextValue}>
|
||||
<div className="flex h-dvh bg-background pt-[env(safe-area-inset-top)]">
|
||||
<div className="flex h-dvh bg-background pt-[var(--app-top-inset)]">
|
||||
{/* The same rail as mail and settings, with Admin as the current app. */}
|
||||
<div className="flex w-14 shrink-0 flex-col bg-secondary" style={{ borderRight: '1px solid rgba(128, 128, 128, 0.3)' }}>
|
||||
<NavigationRail collapsed adminActive />
|
||||
|
||||
Reference in New Issue
Block a user