You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inline agent dialog breaks its two-column layout in smaller windows #44530
I confirm that I am using English to submit this report, otherwise it will be closed.
【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
Please do not modify this template :) and fill in all the required fields.
Dify version
Source build at 0d5b00be02. The affected layout is also present on main at bb15220676.
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
Open a Workflow in Studio.
Add an Agent node and choose Start from Scratch, or open an existing inline agent's configuration.
Resize the browser viewport below 1280 CSS pixels wide, for example to 1263 × 772 or 1024 × 768.
Observe the Configure and Build/Preview panels and the dialog's close button.
✔️ Expected Behavior
The inline agent dialog keeps its two-column layout as the window becomes narrower. Both panels shrink with the dialog, configuration content scrolls within its own panel, and the close button stays at the upper-right corner.
❌ Actual Behavior
Below the xl breakpoint, the shared workspace switches to a vertical layout. The Configure panel retains its desktop maximum width and flex basis, leaving a large empty area beside it, while Build/Preview moves below it. The close button moves down with the Build/Preview header into the middle of the dialog.
One useful scoping detail: the standalone Agent Configure page also uses AgentConfigureWorkspace, and explicitly supplies narrow-screen overrides for its Configure panel. The inline dialog uses that same workspace but supplies only min-w-90 for the panel. This gives a concrete difference to investigate rather than changing the shared breakpoint globally. [1][2]
The shared workspace applies max-xl:flex-col, and its preview surface also switches to a fixed-height, non-flexing layout below xl. The inline close button is passed into that preview header, explaining why it follows the panel downward. [3][4][5]
I’d scope the layout change to the inline dialog and include the standalone Configure page in regression checks, since its vertical reflow is documented behavior. [6]
Activity
dosubot commentedon Oct 22, 2026
One useful scoping detail: the standalone Agent Configure page also uses
AgentConfigureWorkspace, and explicitly supplies narrow-screen overrides for its Configure panel. The inline dialog uses that same workspace but supplies onlymin-w-90for the panel. This gives a concrete difference to investigate rather than changing the shared breakpoint globally. [1] [2]The shared workspace applies
max-xl:flex-col, and its preview surface also switches to a fixed-height, non-flexing layout belowxl. The inline close button is passed into that preview header, explaining why it follows the panel downward. [3] [4] [5]I’d scope the layout change to the inline dialog and include the standalone Configure page in regression checks, since its vertical reflow is documented behavior. [6]
To reply, just mention @dosu.
Share context across your team and agents. Try Dosu.