diff --git a/tools/ui/src/app.html b/tools/ui/src/app.html index db3e9edf5e..e1de226dcb 100644 --- a/tools/ui/src/app.html +++ b/tools/ui/src/app.html @@ -9,7 +9,10 @@ - + %sveltekit.head% diff --git a/tools/ui/src/lib/components/ui/sidebar/sidebar-provider.svelte b/tools/ui/src/lib/components/ui/sidebar/sidebar-provider.svelte index e77641c2e0..9fd270403e 100644 --- a/tools/ui/src/lib/components/ui/sidebar/sidebar-provider.svelte +++ b/tools/ui/src/lib/components/ui/sidebar/sidebar-provider.svelte @@ -41,7 +41,7 @@ data-slot="sidebar-wrapper" style="--sidebar-width: {sidebar.sidebarWidth}; --sidebar-min-width: {SIDEBAR_MIN_WIDTH}; --sidebar-max-width: {SIDEBAR_MAX_WIDTH}; --sidebar-width-icon: {SIDEBAR_WIDTH_ICON}; {style}" class={cn( - 'group/sidebar-wrapper flex flex-col min-h-svh w-full has-data-[variant=inset]:bg-sidebar', + 'group/sidebar-wrapper flex flex-col h-dvh w-full has-data-[variant=inset]:bg-sidebar', className )} bind:this={ref} diff --git a/tools/ui/src/lib/hooks/use-pwa.svelte.ts b/tools/ui/src/lib/hooks/use-pwa.svelte.ts index e720253e73..e1f46e1bc2 100644 --- a/tools/ui/src/lib/hooks/use-pwa.svelte.ts +++ b/tools/ui/src/lib/hooks/use-pwa.svelte.ts @@ -53,6 +53,8 @@ export function usePwa() { // This comparison detects server upgrades for non-PWA users. $effect(() => { if (!browser) return; + // PWA pages update via the service worker path; the storage check is the non-PWA fallback only + if (navigator.serviceWorker?.controller) return; const currentVersion = versionStore.value; if (!currentVersion) return;