Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export default async function SandboxInspectPage({
>
<ClientOnly
className={cn(
'sticky top-0 flex flex-1 gap-4 overflow-hidden p-3 md:p-6 max-md:min-h-[calc(100vh-var(--protected-navbar-height))]',
'md:relative md:!max-h-[100%]'
'flex flex-1 gap-4 overflow-hidden p-3 md:p-6',
'max-md:sticky max-md:top-0 max-md:min-h-[calc(100vh-var(--protected-navbar-height))]'
)}
>
<SandboxInspectFilesystem rootPath={rootPath} />
Expand Down
8 changes: 6 additions & 2 deletions src/features/dashboard/sandbox/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,15 @@ export default function SandboxLayout({
}

return (
<div className="flex max-h-svh min-h-0 flex-1 flex-col max-md:overflow-y-auto h-full">
<div className="flex max-h-svh h-full min-h-0 flex-1 flex-col max-md:overflow-y-auto">
{header}

<DashboardTabs type="path" layoutKey="tabs-indicator-sandbox">
<DashboardTab id="inspect" label="Inspect">
<DashboardTab
id="inspect"
label="Inspect"
className="flex flex-col max-h-full"
>
{isEnvdVersionCompatibleForInspect ? (
children
) : (
Expand Down
Loading