Skip to content

Commit 5585adb

Browse files
committed
Fix a few styles
1 parent f5f35ce commit 5585adb

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

chat/src/components/ChatInterface.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export default function ChatInterface() {
218218

219219
return (
220220
<div className="flex flex-col h-svh">
221-
<header className="p-3 dark:text-white flex items-center justify-between border-b">
221+
<header className="p-4 flex items-center justify-between border-b">
222222
<span className="font-bold">AgentAPI Chat</span>
223223

224224
<div className="flex items-center gap-4">

chat/src/components/MessageList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default function MessageList({
1818
// If no messages, show a placeholder
1919
if (messages.length === 0) {
2020
return (
21-
<div className="flex-1 p-6 flex items-center justify-center text-gray-500 bg-white">
21+
<div className="flex-1 p-6 flex items-center justify-center text-muted-foreground">
2222
<p>No messages yet. Start the conversation!</p>
2323
</div>
2424
);
@@ -79,7 +79,7 @@ export default function MessageList({
7979
<div
8080
className={`inline-block rounded-lg ${
8181
message.role === "user"
82-
? "bg-accent-foreground rounded-lg max-w-[90%] p-4 text-accent"
82+
? "bg-accent-foreground rounded-lg max-w-[90%] px-4 py-3 text-accent"
8383
: "max-w-[90%]"
8484
}`}
8585
>

chat/src/components/ui/tabs.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
"use client"
1+
"use client";
22

3-
import * as React from "react"
4-
import * as TabsPrimitive from "@radix-ui/react-tabs"
3+
import * as React from "react";
4+
import * as TabsPrimitive from "@radix-ui/react-tabs";
55

6-
import { cn } from "@/lib/utils"
6+
import { cn } from "@/lib/utils";
77

88
function Tabs({
99
className,
@@ -15,7 +15,7 @@ function Tabs({
1515
className={cn("flex flex-col gap-2", className)}
1616
{...props}
1717
/>
18-
)
18+
);
1919
}
2020

2121
function TabsList({
@@ -31,7 +31,7 @@ function TabsList({
3131
)}
3232
{...props}
3333
/>
34-
)
34+
);
3535
}
3636

3737
function TabsTrigger({
@@ -47,7 +47,7 @@ function TabsTrigger({
4747
)}
4848
{...props}
4949
/>
50-
)
50+
);
5151
}
5252

5353
function TabsContent({
@@ -60,7 +60,7 @@ function TabsContent({
6060
className={cn("flex-1 outline-none", className)}
6161
{...props}
6262
/>
63-
)
63+
);
6464
}
6565

66-
export { Tabs, TabsList, TabsTrigger, TabsContent }
66+
export { Tabs, TabsList, TabsTrigger, TabsContent };

0 commit comments

Comments
 (0)