diff --git a/ui/desktop/src/Chat.tsx b/ui/desktop/src/Chat.tsx index 551b6f5260..5f8498da34 100644 --- a/ui/desktop/src/Chat.tsx +++ b/ui/desktop/src/Chat.tsx @@ -5,7 +5,6 @@ import { getApiUrl } from './config' import { X, Plus, Send } from 'lucide-react' import { Button } from './components/ui/button' import { Card } from './components/ui/card' -import { Input } from './components/ui/input' import { ScrollArea } from './components/ui/scroll-area' import GooseSplashLogo from './components/GooseSplashLogo' import GooseMessage from './components/GooseMessage' @@ -57,8 +56,8 @@ export default function Chat({ chats, setChats, selectedChatId, setSelectedChatI }; return ( -
-
+
+
{chats.map((chat) => (
@@ -93,47 +92,46 @@ export default function Chat({ chats, setChats, selectedChatId, setSelectedChatI
- -
- -
- {messages.length === 0 ? ( -
-
- - ask
goose
-
-
- ) : ( - messages.map((message) => ( -
- {message.role === 'user' ? ( - - ) : ( - - )} -
- )) - )} + + {messages.length === 0 ? ( +
+
+ + ask
goose
+
+ ) : ( + +
+ {messages.map((message) => ( +
+ {message.role === 'user' ? ( + + ) : ( + + )} +
+ ))} +
-
- - -
-
+ )} +
+ + +
) diff --git a/ui/desktop/src/components/UserMessage.tsx b/ui/desktop/src/components/UserMessage.tsx index 3f0408b415..33b0d12f4e 100644 --- a/ui/desktop/src/components/UserMessage.tsx +++ b/ui/desktop/src/components/UserMessage.tsx @@ -4,7 +4,7 @@ import ReactMarkdown from 'react-markdown' export default function UserMessage({ message }) { return ( -
+
{message.content}
diff --git a/ui/desktop/tailwind.config.ts b/ui/desktop/tailwind.config.ts index 63a088ddc5..3b1671268b 100644 --- a/ui/desktop/tailwind.config.ts +++ b/ui/desktop/tailwind.config.ts @@ -7,9 +7,12 @@ export default { ], theme: { extend: { + spacing: { + '10': '10px' + }, margin: { '10': '10px', - '50': '50px', + '50': '50px' }, backgroundImage: { 'card-gradient': 'linear-gradient(28.59deg, rgba(255, 255, 255, 0.9) 5.64%, rgba(226, 245, 251, 0.9) 94.49%);',