fix(operations): contain agent run-log text inside the "פלט" popup #327

Merged
chaim merged 1 commits from worktree-fix-runlog-overflow into main 2026-06-20 18:32:17 +00:00
Showing only changes of commit 38234d9b4f - Show all commits

View File

@@ -12,7 +12,6 @@ import { Switch } from "@/components/ui/switch";
import { Input } from "@/components/ui/input"; import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label"; import { Label } from "@/components/ui/label";
import { Skeleton } from "@/components/ui/skeleton"; import { Skeleton } from "@/components/ui/skeleton";
import { ScrollArea } from "@/components/ui/scroll-area";
import { import {
Dialog, Dialog,
DialogContent, DialogContent,
@@ -673,11 +672,11 @@ function RunLogDialog({ run, onClose }: { run: AgentRun | null; onClose: () => v
) : error ? ( ) : error ? (
<p className="text-sm text-destructive">שגיאה בטעינת הלוג: {String(error)}</p> <p className="text-sm text-destructive">שגיאה בטעינת הלוג: {String(error)}</p>
) : ( ) : (
<ScrollArea className="h-[60vh] rounded-md border border-rule-soft bg-rule-soft/20 p-3"> <div className="h-[60vh] w-full overflow-y-auto overflow-x-hidden rounded-md border border-rule-soft bg-rule-soft/20 p-3">
<pre dir="ltr" className="text-[0.72rem] leading-relaxed whitespace-pre-wrap break-words text-navy text-start"> <pre dir="ltr" className="w-full min-w-0 max-w-full overflow-x-hidden text-[0.72rem] leading-relaxed whitespace-pre-wrap break-all text-navy text-start">
{text || "אין פלט עדיין."} {text || "אין פלט עדיין."}
</pre> </pre>
</ScrollArea> </div>
)} )}
</DialogContent> </DialogContent>
</Dialog> </Dialog>