Skip to content

Commit 094796c

Browse files
committed
fix: nits
1 parent 3b3a9af commit 094796c

2 files changed

Lines changed: 12 additions & 10 deletions

File tree

apps/code/src/renderer/features/message-editor/components/PromptInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ export const PromptInput = forwardRef<EditorHandle, PromptInputProps>(
285285
<InputGroup
286286
onClick={handleContainerClick}
287287
onContextMenu={handleContextMenu}
288-
className={`h-auto cursor-text bg-card focus-within:ring-1 focus-within:ring-purple-9 ${isBashMode ? "ring-1 ring-blue-9" : ""}`}
288+
className={`h-auto cursor-text bg-card ${isBashMode ? "ring-1 ring-blue-9" : "focus-within:ring-1 focus-within:ring-purple-9"}`}
289289
{...(tourTarget && {
290290
"data-tour": `${tourTarget}-editor`,
291291
"data-tour-ready": !isEmpty ? "true" : undefined,

apps/code/src/renderer/features/sessions/components/ConversationView.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -310,15 +310,17 @@ export function ConversationView({
310310
{showScrollButton && (
311311
<Box className="absolute right-6 bottom-4 z-10">
312312
<Tooltip>
313-
<TooltipTrigger>
314-
<Button
315-
size="icon-lg"
316-
variant="outline"
317-
onClick={scrollToBottom}
318-
>
319-
<ArrowDown size={14} weight="bold" />
320-
</Button>
321-
</TooltipTrigger>
313+
<TooltipTrigger
314+
render={
315+
<Button
316+
size="icon-lg"
317+
variant="outline"
318+
onClick={scrollToBottom}
319+
>
320+
<ArrowDown size={14} weight="bold" />
321+
</Button>
322+
}
323+
/>
322324
<TooltipContent>Scroll to bottom</TooltipContent>
323325
</Tooltip>
324326
</Box>

0 commit comments

Comments
 (0)