Skip to content

Commit 111274a

Browse files
committed
Fix spacing between code and tab bar; hide overflow in scrollable chat
1 parent b01ac77 commit 111274a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/task-chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ export function TaskChat({ taskId, task }: TaskChatProps) {
883883
})
884884

885885
return (
886-
<div ref={scrollContainerRef} className="flex-1 overflow-y-auto pb-4">
886+
<div ref={scrollContainerRef} className="flex-1 overflow-y-auto overflow-x-hidden pb-4">
887887
{hiddenMessagesCount > 0 && (
888888
<div className="text-xs text-center text-muted-foreground opacity-50 mb-4 italic">
889889
{hiddenMessagesCount} older message{hiddenMessagesCount !== 1 ? 's' : ''} hidden

components/task-details.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,7 +2029,7 @@ export function TaskDetails({ task, maxSandboxDuration = 300 }: TaskDetailsProps
20292029
{activeTab === 'code' ? (
20302030
<div className="relative h-full">
20312031
{/* Current File Path Bar */}
2032-
<div className="px-3 pt-3 pb-2 flex items-center gap-2 bg-background">
2032+
<div className="px-3 pt-3 pb-2 flex items-center gap-2 bg-background border-b">
20332033
<Button
20342034
variant="ghost"
20352035
size="sm"
@@ -2044,7 +2044,7 @@ export function TaskDetails({ task, maxSandboxDuration = 300 }: TaskDetailsProps
20442044
</div>
20452045

20462046
{/* Diff Viewer */}
2047-
<div className="bg-card md:rounded-md md:border overflow-hidden h-[calc(100%-3.5rem)]">
2047+
<div className="bg-card md:rounded-md md:border overflow-hidden h-[calc(100%-41px)]">
20482048
<div className="overflow-y-auto h-full">
20492049
<FileDiffViewer
20502050
selectedFile={selectedItemIsFolder ? undefined : selectedFile}

0 commit comments

Comments
 (0)