Skip to content

Commit d88b0f2

Browse files
committed
feat: ui
1 parent c7df7af commit d88b0f2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

apps/ui-tars/src/renderer/src/components/ImageGallery/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,14 @@ const ImageGallery: React.FC<ImageGalleryProps> = ({
138138
<div className="text-base font-medium leading-tight">
139139
{action.action}
140140
</div>
141-
<div className="text-xs text-muted-foreground">
141+
<div className="text-xs text-muted-foreground max-w-full mr-4">
142142
<span className="font-medium text-primary/70">
143143
{action.type}
144144
</span>
145145
{action.input && (
146-
<span className="text-primary/70">{action.input}</span>
146+
<span className="text-primary/70 break-all max-w-full">
147+
{action.input}
148+
</span>
147149
)}
148150
{action.cost && (
149151
<span className="ml-1 text-muted-foreground/70">

apps/ui-tars/src/renderer/src/components/ThoughtChain/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function ThoughtStepCard({ step, onClick, hasSomImage }: ThoughtStepCardProps) {
7676
) : (
7777
<>
7878
Action:
79-
<span className="text-gray-600">
79+
<span className="text-gray-600 max-w-50 truncate">
8080
{step.action_type}
8181
{step.action_inputs?.start_box &&
8282
` (start_box: ${step.action_inputs.start_box})`}

0 commit comments

Comments
 (0)