diff --git a/packages/app/src/pages/home.tsx b/packages/app/src/pages/home.tsx index d1fbf5b9a..36ecd3225 100644 --- a/packages/app/src/pages/home.tsx +++ b/packages/app/src/pages/home.tsx @@ -19,7 +19,6 @@ import { createStore } from "solid-js/store" import { useQuery } from "@tanstack/solid-query" import { Button } from "@opencode-ai/ui/button" import { Logo } from "@opencode-ai/ui/logo" -import { ScrollView } from "@opencode-ai/ui/scroll-view" import { ProjectAvatar } from "@opencode-ai/ui/v2/project-avatar-v2" import { ButtonV2 } from "@opencode-ai/ui/v2/button-v2" import { Icon as IconV2 } from "@opencode-ai/ui/v2/icon" @@ -819,8 +818,14 @@ function HomeDesign() { {/* Sessions flyout (spec T3.3): servers + projects (all existing affordances preserved via HomeProjectColumn) above the search + grouped sessions list. */} + {/* Panel styling mirrors the defaults capsule popover + (amicode-defaults-pop): bg-base surface, same floating + shadow, 14px padding, 12px gap, dialog semantics. Width and + max-height stay flyout-specific — the list needs the room. */}
- + {/* The scroll container must be this element itself (used flex + size + overflow-y), NOT ScrollView: its viewport needs + height:100%, and percentage heights never resolve under the + flyout's max-height-only auto-height chain — the viewport + inflates to content size and the root just clips it. Same + pattern as the project list / search results lists. */} +
- +
@@ -1074,8 +1085,18 @@ function HomeProjectColumn(props: { const dialog = useDialog() const controller = useServerManagementController({ navigateOnAdd: false }) return ( -