mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
better structure for main body
This commit is contained in:
@@ -295,9 +295,8 @@ function Index() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* main body */}
|
{/* main body */}
|
||||||
<div className={`w-full h-full flex items-start justify-between gap-${BREATHING_ROOM}`}>
|
|
||||||
{selectedProject && issues.length > 0 && (
|
{selectedProject && issues.length > 0 && (
|
||||||
<ResizablePanelGroup>
|
<ResizablePanelGroup className={`flex-1`}>
|
||||||
<ResizablePanel id={"left"} minSize={400}>
|
<ResizablePanel id={"left"} minSize={400}>
|
||||||
{/* issues list (table) */}
|
{/* issues list (table) */}
|
||||||
<IssuesTable
|
<IssuesTable
|
||||||
@@ -315,12 +314,7 @@ function Index() {
|
|||||||
{selectedIssue && selectedOrganisation && (
|
{selectedIssue && selectedOrganisation && (
|
||||||
<>
|
<>
|
||||||
<ResizableSeparator />
|
<ResizableSeparator />
|
||||||
<ResizablePanel
|
<ResizablePanel id={"right"} defaultSize={"30%"} minSize={360} maxSize={"60%"}>
|
||||||
id={"right"}
|
|
||||||
defaultSize={"30%"}
|
|
||||||
minSize={360}
|
|
||||||
maxSize={"60%"}
|
|
||||||
>
|
|
||||||
<div className="border">
|
<div className="border">
|
||||||
<IssueDetailPane
|
<IssueDetailPane
|
||||||
project={selectedProject}
|
project={selectedProject}
|
||||||
@@ -335,7 +329,6 @@ function Index() {
|
|||||||
)}
|
)}
|
||||||
</ResizablePanelGroup>
|
</ResizablePanelGroup>
|
||||||
)}
|
)}
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* <LogOutButton /> */}
|
{/* <LogOutButton /> */}
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user