Adjust chat panel height when not generating

- Changed the height of the chat panel from '6rem' to '7rem' when not generating in ChatPanel.tsx.
This commit is contained in:
Rankin Zheng 2023-09-01 14:43:04 +08:00
parent 50462e38ef
commit e425d75664

View File

@ -181,7 +181,7 @@ const chatPanel = observer(() => {
)}
<ScrollArea
sx={{
height: chat.generating ? height - px("9rem") : height - px("6rem"),
height: chat.generating ? height - px("9rem") : height - px("7rem"),
padding: 0,
margin: 0,
}}