feat: update WorkflowConfigPanel dimensions for improved layout
This commit is contained in:
@@ -16,9 +16,9 @@ import {
|
|||||||
type WorkflowNodeData,
|
type WorkflowNodeData,
|
||||||
} from "./workflow-utils"
|
} from "./workflow-utils"
|
||||||
|
|
||||||
const PANEL_DEFAULT_WIDTH = 380
|
const PANEL_DEFAULT_WIDTH = 460
|
||||||
const PANEL_MIN_WIDTH = 320
|
const PANEL_MIN_WIDTH = 320
|
||||||
const PANEL_MAX_WIDTH = 560
|
const PANEL_MAX_WIDTH = 600
|
||||||
|
|
||||||
export function WorkflowConfigPanel({
|
export function WorkflowConfigPanel({
|
||||||
definition,
|
definition,
|
||||||
@@ -126,7 +126,7 @@ export function WorkflowConfigPanel({
|
|||||||
>
|
>
|
||||||
<span className="h-12 w-1 rounded-full bg-slate-300/80 transition-colors group-hover:bg-blue-400" />
|
<span className="h-12 w-1 rounded-full bg-slate-300/80 transition-colors group-hover:bg-blue-400" />
|
||||||
</div>
|
</div>
|
||||||
<section className="pointer-events-auto flex min-h-0 w-full flex-col overflow-hidden rounded-lg border border-slate-300 bg-white shadow-[0_18px_45px_rgba(15,23,42,0.18)] backdrop-blur">
|
<section className="pointer-events-auto flex min-h-0 w-full flex-col overflow-hidden rounded-lg bg-white shadow-[0_18px_45px_rgba(15,23,42,0.18)] backdrop-blur">
|
||||||
<div className="shrink-0 p-3 pb-2">
|
<div className="shrink-0 p-3 pb-2">
|
||||||
<div className="overflow-hidden rounded-md border border-slate-200 bg-white">
|
<div className="overflow-hidden rounded-md border border-slate-200 bg-white">
|
||||||
<div className="px-3 py-3">
|
<div className="px-3 py-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user