Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(agent): Minor Assistant styling issues (#15261)

Ben Bachem6afa0c54de87
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
index a1bd5e73f4..85d3dbf031 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentMessage.tsx
@@ -324,12 +324,7 @@ function InAppAgentReasoningBlock({
isCompact ? "text-[0.775rem]" : "text-sm",
)}
>
- <summary
- className={cn(
- "hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-none font-bold outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden",
- isCompact && "px-0.5",
- )}
- >
+ <summary className="hover:text-foreground focus-visible:ring-ring flex w-fit cursor-pointer list-none items-center gap-1.5 rounded-md px-1 py-0.5 text-xs leading-none font-bold outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&::-webkit-details-marker]:hidden">
<span
className={cn(
"min-w-0 flex-1",
diff --git a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
index b57144e2f9..2e0e7c7f32 100644
--- a/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
+++ b/web/src/ee/features/in-app-agent/components/InAppAgentWindow.tsx
@@ -671,7 +671,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {
) : null}
</div>
</header>
- <div className="flex min-h-0 flex-1 flex-col">
+ <div className="relative flex min-h-0 flex-1 flex-col">
<div
ref={viewportRef}
className="min-h-0 flex-1 overflow-y-auto"
@@ -829,7 +829,7 @@ export function InAppAgentWindow(props: InAppAgentWindowProps) {
: "max-h-40 opacity-100",
)}
>
- <div className="p-2">
+ <div className="mb-2 px-2">
<div
className={cn(
"flex w-full flex-col gap-1.5",