better structure for main body

This commit is contained in:
Oliver Bryan
2026-01-08 17:53:29 +00:00
parent c4cfe23cd2
commit 528e41bd92

View File

@@ -295,9 +295,8 @@ function Index() {
</div>
{/* main body */}
<div className={`w-full h-full flex items-start justify-between gap-${BREATHING_ROOM}`}>
{selectedProject && issues.length > 0 && (
<ResizablePanelGroup>
<ResizablePanelGroup className={`flex-1`}>
<ResizablePanel id={"left"} minSize={400}>
{/* issues list (table) */}
<IssuesTable
@@ -315,12 +314,7 @@ function Index() {
{selectedIssue && selectedOrganisation && (
<>
<ResizableSeparator />
<ResizablePanel
id={"right"}
defaultSize={"30%"}
minSize={360}
maxSize={"60%"}
>
<ResizablePanel id={"right"} defaultSize={"30%"} minSize={360} maxSize={"60%"}>
<div className="border">
<IssueDetailPane
project={selectedProject}
@@ -335,7 +329,6 @@ function Index() {
)}
</ResizablePanelGroup>
)}
</div>
{/* <LogOutButton /> */}
</main>