We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9671efb commit cc6eb46Copy full SHA for cc6eb46
packages/react-app/src/components/chatbox/index.tsx
@@ -307,10 +307,11 @@ export const Chatbox = (props: ChatboxProps) => {
307
style={{
308
display: 'flex',
309
flexDirection: 'column-reverse',
310
- paddingTop: '12px',
+ // 减去除消息列表外其他纵向元素的高度
311
+ minHeight: 'calc(100vh - 10.25rem)',
312
}}
313
>
- <div className="flex-1 w-full md:!w-3/4 mx-auto px-3 md:px-0 box-border">
314
+ <div className="flex-1 w-full md:!w-3/4 mx-auto px-3 pb-6 md:px-0 box-border">
315
{/* 🌟 消息列表 */}
316
<Bubble.List
317
items={items}
0 commit comments