fix(frontend): add min-width to agent run draft view component (#10731)

- resolves -
https://github.com/Significant-Gravitas/AutoGPT/issues/10618

When we have a dropdown with a large description, the actions button is
moved out of the dialog box. To fix this, I’ve added a temporary
solution, but in the future, we need to change the entire layout.


### Checklist 📋
- [x] I have clearly listed my changes in the PR description
- [x] I have made a test plan
- [x] I have tested my changes according to the test plan:
  - [x] Everything works perfectly locally.
This commit is contained in:
Abhimanyu Yadav
2025-08-27 09:34:16 +05:30
committed by GitHub
parent fecbd3042d
commit c6821484c7

View File

@@ -509,7 +509,7 @@ export function AgentRunDraftView({
return (
<div className={cn("agpt-div flex gap-6", className)}>
<div className="flex flex-1 flex-col gap-4">
<div className="flex min-w-0 flex-1 flex-col gap-4">
<Card className="agpt-box">
<CardHeader>
<CardTitle className="font-poppins text-lg">Input</CardTitle>