Unverified 提交 2d5aa7e7 authored 作者: 顾颢's avatar 顾颢 提交者: GitHub

style(chat): solve the issue where the SetupBanner is cut off (#1078)

Fixes #1077 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fix the SetupBanner being cut off in the empty chat state. The placeholder message now uses flex-1 instead of h-full so the banner renders fully. <!-- End of auto-generated description by cubic. --> Co-authored-by: 's avatar顾颢 <guhao@dayee.com>
上级 7adffc75
......@@ -53,7 +53,7 @@ export const MessagesList = forwardRef<HTMLDivElement, MessagesListProps>(
))
) : (
<div className="flex flex-col items-center justify-center h-full max-w-2xl mx-auto">
<div className="flex items-center justify-center h-full text-gray-500">
<div className="flex flex-1 items-center justify-center text-gray-500">
No messages yet
</div>
{!isAnyProviderSetup() && <SetupBanner />}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论