Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Fix click-dead zone on the Assistant launcher tab
rcourtmanb57fb95e2070
diff --git a/frontend-modern/src/AppLayout.tsx b/frontend-modern/src/AppLayout.tsxindex c070a23c3c..9d8b25d599 100644--- a/frontend-modern/src/AppLayout.tsx+++ b/frontend-modern/src/AppLayout.tsx@@ -1,4 +1,5 @@import { For, Show, Suspense, createEffect, createMemo, createSignal, onCleanup } from 'solid-js';+import { Portal } from 'solid-js/web';import type { JSX } from 'solid-js';import { useLocation, useNavigate } from '@solidjs/router';import BellIcon from 'lucide-solid/icons/bell';@@ -976,15 +977,20 @@ export function AppLayout(props: AppLayoutProps) {!dialogStackHasBlockingDialog()}>- <button- type="button"- onClick={() => aiChatStore.open(assistantPageContext().context)}- class={AI_CHAT_LAUNCHER_BUTTON_CLASS}- title={assistantPageContext().title}- aria-label={assistantPageContext().ariaLabel}- >- <SparklesIcon class="h-5 w-5 flex-shrink-0" />- </button>+ {/* Portaled out of .app-scroll-shell: as a descendant the scroll+ container's own scrollbar hit-tests above the tab's right edge,+ leaving the screen-edge click zone dead. */}+ <Portal>+ <button+ type="button"+ onClick={() => aiChatStore.open(assistantPageContext().context)}+ class={AI_CHAT_LAUNCHER_BUTTON_CLASS}+ title={assistantPageContext().title}+ aria-label={assistantPageContext().ariaLabel}+ >+ <SparklesIcon class="h-5 w-5 flex-shrink-0" />+ </button>+ </Portal></Show></div>);diff --git a/frontend-modern/src/index.css b/frontend-modern/src/index.cssindex 4f2194d328..a372be158a 100644--- a/frontend-modern/src/index.css+++ b/frontend-modern/src/index.css@@ -132,11 +132,11 @@color: var(--color-text-base);}- /* Hide scrollbars during transitions to prevent flicker */- html {- overflow-y: scroll;- scroll-behavior: smooth;- }+ /* The document root never scrolls: the app shell is h-screen with+ overflow hidden and .app-scroll-shell owns vertical scrolling.+ Forcing a root scrollbar here would reserve a dead gutter at the+ right viewport edge and shift every fixed right-anchored element+ (e.g. the Assistant launcher tab) off the true screen edge. */}@layer components {