Compare commits

...

3 Commits

Author SHA1 Message Date
Ubbe
efe2f18719 Merge branch 'dev' into fix/spinner-height-copilot 2026-02-18 20:44:42 +08:00
Lluis Agusti
23eda10cb1 chore: format 2026-02-18 20:34:48 +08:00
Lluis Agusti
7bfc5140b0 fix: make spinner centred when loading 2026-02-18 20:29:27 +08:00

View File

@@ -169,7 +169,10 @@ export const ChatMessagesContainer = ({
<ConversationContent className="flex flex-1 flex-col gap-6 px-3 py-6">
{headerSlot}
{isLoading && messages.length === 0 && (
<div className="flex min-h-full flex-1 items-center justify-center">
<div
className="flex flex-1 items-center justify-center"
style={{ minHeight: "calc(100vh - 12rem)" }}
>
<LoadingSpinner className="text-neutral-600" />
</div>
)}