Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/src/components/StandardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { useDisclosure } from '@/hooks/useDisclosure';
import { cn } from '@/lib/utils';
import { isFlagshipShellEnabled } from '@/libs/featureFlags';
import FlagshipSidebar from './flagship/FlagshipSidebar';
import { SIDE_PANEL_SLOT_ID } from './flagship/SidePanel';
import GiveCalcBanner from './shared/GiveCalcBanner';
import HeaderNavigation from './shared/HomeHeader';
import Sidebar from './Sidebar';
Expand Down Expand Up @@ -50,6 +51,12 @@ export default function StandardLayout({ children }: StandardLayoutProps) {
<main className="tw:flex-1 tw:min-w-0 tw:overflow-y-auto tw:overflow-x-hidden tw:p-[24px] tw:bg-gray-50">
{children}
</main>
{/* The right plane: SidePanel portals its content here, so the
panel is a real column of the shell — outside the scrolling
content, full height by construction — rather than a
floating box inside it. Empty (zero width) on pages
without a companion. */}
<div id={SIDE_PANEL_SLOT_ID} className="tw:shrink-0 tw:flex tw:h-full tw:bg-gray-50" />
</div>
</LayoutProvider>
);
Expand Down
Loading
Loading