style(chat): improve chat layout spacing and empty state styling

- Add top margin (rb:mt-2) to bottom label in ChatContent for better spacing
- Wrap Chat component in centered container with max-width (760px) and top padding
- Replace AnalysisEmptyIcon with BgImg in empty state for improved visual consistency
- Add size prop [320,180] to Empty component for proper empty state dimensions
- Adjust contentClassName spacing for better layout alignment
- Improves overall chat interface visual hierarchy and spacing consistency
This commit is contained in:
yujiangping
2026-01-14 16:42:32 +08:00
parent fbc1906fa2
commit 830e9dd6f9
2 changed files with 5 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ const ChatContent: FC<ChatContentProps> = ({
</div>
{/* 底部标签(如时间戳、用户名等) */}
{labelPosition === 'bottom' &&
<div className="rb:text-[#5B6167] rb:text-[12px] rb:leading-4 rb:font-regular">
<div className="rb:text-[#5B6167] rb:text-[12px] rb:leading-4 rb:font-regular rb:mt-2">
{labelFormat(item)}
</div>
}