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
33 changes: 16 additions & 17 deletions src/components/browse-tab/BrowseTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ function BrowseTab() {
id="dataPanel"
defaultSize={dataPanelSize}
onResize={setDataPanelSize}
className="min-w-0"
>
<div
className="flex h-full min-h-0 flex-col border-l"
Expand All @@ -67,25 +68,23 @@ function BrowseTab() {
</div>
</ResizablePanel>

<div className="hidden md:contents">
<ResizableHandle withHandle />
<ResizableHandle className="hidden md:flex" withHandle />

<ResizablePanel
id="schemaPanel"
defaultSize={schemaPanelSize}
onResize={setSchemaPanelSize}
className="relative"
<ResizablePanel
id="schemaPanel"
defaultSize={schemaPanelSize}
onResize={setSchemaPanelSize}
className="relative hidden min-w-0 md:block"
>
<SchemaTreePanel />
<div
className={`bg-background absolute inset-0 z-40 ${isEditing ? "block" : "hidden"}`}
>
<SchemaTreePanel />
<div
className={`bg-background absolute inset-0 z-40 ${isEditing ? "block" : "hidden"}`}
>
<section className="bg-primary/5 h-full">
<EditSection />
</section>
</div>
</ResizablePanel>
</div>
<section className="bg-primary/5 h-full">
<EditSection />
</section>
</div>
</ResizablePanel>
</ResizablePanelGroup>

<div className="md:hidden">
Expand Down
2 changes: 1 addition & 1 deletion src/components/structure-tab/SchemaTreePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import SchemaTree from "./SchemaTree";

export default function SchemaTreePanel() {
return (
<div className="h-full overflow-hidden">
<div className="h-full min-w-0 overflow-hidden">
<div className="h-full overflow-y-auto">
<SchemaTree />
</div>
Expand Down