Skip to content

Commit ae4455c

Browse files
committed
Small layout improvements
1 parent 98a7649 commit ae4455c

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

apps/webapp/app/components/AskAI.tsx

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
HandThumbDownIcon,
55
HandThumbUpIcon,
66
StopIcon,
7-
} from "@heroicons/react/24/solid";
7+
} from "@heroicons/react/20/solid";
88
import { KapaProvider, useChat } from "@kapaai/react-sdk";
99
import { useSearchParams } from "@remix-run/react";
1010
import { motion } from "framer-motion";
@@ -87,7 +87,7 @@ function ChatMessages({
8787
},
8888
}}
8989
>
90-
<Paragraph className="mb-2 pl-1">
90+
<Paragraph className="mb-3 mt-1.5 pl-1">
9191
I'm trained on docs, examples, and other content. Ask me anything about Trigger.dev.
9292
</Paragraph>
9393
{exampleQuestions.map((question, index) => (
@@ -237,15 +237,17 @@ function ChatMessages({
237237
{error} Please try again. If the problem persists, please contact support.
238238
</Paragraph>
239239
</Callout>
240-
<Button
241-
variant="secondary/small"
242-
LeadingIcon={<ArrowPathIcon className="size-4" />}
243-
onClick={onReset}
244-
className="w-fit pl-1.5"
245-
iconSpacing="gap-x-1.5"
246-
>
247-
Reset chat
248-
</Button>
240+
<div className="flex justify-end">
241+
<Button
242+
variant="secondary/small"
243+
LeadingIcon={<ArrowPathIcon className="size-4" />}
244+
onClick={onReset}
245+
className="w-fit pl-1.5"
246+
iconSpacing="gap-x-1.5"
247+
>
248+
Reset chat
249+
</Button>
250+
</div>
249251
</div>
250252
)}
251253
</div>

0 commit comments

Comments
 (0)