refactor(ocp): resizbale with scrollling added makes more easy to review if table overflows
This commit is contained in:
@@ -26,24 +26,37 @@ export default function OCPPage() {
|
||||
>
|
||||
<ResizablePanel>
|
||||
<ResizablePanelGroup direction="vertical">
|
||||
<ResizablePanel>
|
||||
<div style={{ overflow: "auto" }}>
|
||||
<Lots />
|
||||
</div>
|
||||
<ResizablePanel
|
||||
style={{
|
||||
overflow: "auto",
|
||||
scrollbarWidth: "none",
|
||||
}}
|
||||
>
|
||||
<Lots />
|
||||
</ResizablePanel>
|
||||
<ResizableHandle />
|
||||
<ResizablePanel>
|
||||
<ResizablePanelGroup direction="horizontal">
|
||||
<ResizablePanel className="overflow: auto">
|
||||
<div style={{ overflow: "auto" }}>
|
||||
<LabelLog />
|
||||
</div>
|
||||
<ResizablePanelGroup
|
||||
direction="horizontal"
|
||||
autoSaveId="ocpPage"
|
||||
>
|
||||
<ResizablePanel
|
||||
//className="text-sm p-4 overflow-scroll"
|
||||
style={{
|
||||
overflow: "auto",
|
||||
scrollbarWidth: "none",
|
||||
}}
|
||||
>
|
||||
<LabelLog />
|
||||
</ResizablePanel>
|
||||
<ResizableHandle />
|
||||
<ResizablePanel>
|
||||
<div style={{ overflow: "auto" }}>
|
||||
<OcpLogs />
|
||||
</div>
|
||||
<ResizablePanel
|
||||
style={{
|
||||
overflow: "auto",
|
||||
scrollbarWidth: "none",
|
||||
}}
|
||||
>
|
||||
<OcpLogs />
|
||||
</ResizablePanel>
|
||||
</ResizablePanelGroup>
|
||||
</ResizablePanel>
|
||||
@@ -51,7 +64,10 @@ export default function OCPPage() {
|
||||
</ResizablePanel>
|
||||
<ResizableHandle />
|
||||
<ResizablePanel defaultSize={25}>
|
||||
<ResizablePanelGroup direction="vertical">
|
||||
<ResizablePanelGroup
|
||||
direction="vertical"
|
||||
autoSaveId="ocpPage"
|
||||
>
|
||||
{server[0].value === "usday1vms006" && (
|
||||
<ResizablePanel className="max-h-[300px]">
|
||||
<WrapperManualTrigger />
|
||||
|
||||
Reference in New Issue
Block a user