Debugger: Increase left-side width (#3350)
This commit is contained in:
@@ -731,7 +731,7 @@ function Workspace({
|
|||||||
<div className="relative flex h-full w-full overflow-hidden overflow-x-hidden">
|
<div className="relative flex h-full w-full overflow-hidden overflow-x-hidden">
|
||||||
{/* infinite canvas */}
|
{/* infinite canvas */}
|
||||||
<div
|
<div
|
||||||
className={cn("skyvern-split-left h-full w-[33rem] min-w-[33rem]", {
|
className={cn("skyvern-split-left h-full w-[39rem] min-w-[39rem]", {
|
||||||
"w-full": !showBrowser,
|
"w-full": !showBrowser,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
@@ -755,7 +755,7 @@ function Workspace({
|
|||||||
|
|
||||||
{/* browser & timeline & sub-panels in debug mode */}
|
{/* browser & timeline & sub-panels in debug mode */}
|
||||||
{showBrowser && (
|
{showBrowser && (
|
||||||
<div className="skyvern-split-right relative flex h-full w-[calc(100%_-_33rem)] items-end justify-center bg-[#020617] p-4 pl-6">
|
<div className="skyvern-split-right relative flex h-full w-[calc(100%_-_39rem)] items-end justify-center bg-[#020617] p-4 pl-6">
|
||||||
{/* sub panels */}
|
{/* sub panels */}
|
||||||
{workflowPanelState.active && (
|
{workflowPanelState.active && (
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ export function descendants(nodes: Array<AppNode>, id: string): Array<AppNode> {
|
|||||||
export function getLoopNodeWidth(node: AppNode, nodes: Array<AppNode>): number {
|
export function getLoopNodeWidth(node: AppNode, nodes: Array<AppNode>): number {
|
||||||
const maxNesting = maxNestingLevel(nodes);
|
const maxNesting = maxNestingLevel(nodes);
|
||||||
const nestingLevel = getNestingLevel(node, nodes);
|
const nestingLevel = getNestingLevel(node, nodes);
|
||||||
return 600 + (maxNesting - nestingLevel) * 50;
|
return 450 + (maxNesting - nestingLevel) * 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
function maxNestingLevel(nodes: Array<AppNode>): number {
|
function maxNestingLevel(nodes: Array<AppNode>): number {
|
||||||
|
|||||||
Reference in New Issue
Block a user